git-svn-id: svn://db.shs.com.ru/libs@71 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -49,7 +49,7 @@ void main(void) {
|
||||
pr_pos.xyz /= pr_pos.w;
|
||||
pr_spos.xyz /= pr_spos.w;
|
||||
float blur = step(0., coeff) * length(pr_pos.xyz - pr_spos.xyz) * (1. - specularity);
|
||||
vec3 rvs = max(texture(ts, tsp).rgb, vec3(0));
|
||||
vec3 rvs = texture(ts, tsp).rgb;
|
||||
|
||||
qgl_FragData[0] = vec4(rvs.rgb, coeff / 1.1 + clamp(round(blur * 10), 0, 1000));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user