ALS space shader: Allow dirt overlay to influence glow visuals
This commit is contained in:
parent
27eecc2dcb
commit
0df35c2516
1 changed files with 1 additions and 0 deletions
|
@ -402,6 +402,7 @@ void main (void)
|
|||
vec3 dirtFactor = reflmap.rgb * dirtFactorIn.rgb;
|
||||
//dirtFactor.r = smoothstep(0.0, 1.0, dirtFactor.r);
|
||||
mixedcolor.rgb = mix(mixedcolor.rgb, dirt_r_color, smoothstep(0.0, 1.0, dirtFactor.r));
|
||||
texel.rgb = mix(texel.rgb, dirt_r_color, smoothstep(0.0, 1.0, dirtFactor.r));
|
||||
if (dirt_multi > 0) {
|
||||
//dirtFactor.g = smoothstep(0.0, 1.0, dirtFactor.g);
|
||||
//dirtFactor.b = smoothstep(0.0, 1.0, dirtFactor.b);
|
||||
|
|
Loading…
Add table
Reference in a new issue