opengl.shaders.lighting: Add 'TODO' for attenuation bug in lighting shader.
This commit is contained in:
@@ -13,11 +13,10 @@ apply_Texturing (vec2 Coords)
|
||||
* texture (Textures [i], Coords).a
|
||||
* (1.0 - Fade [i]);
|
||||
|
||||
// Color.a += texture (Textures [i], Coords).a * (1.0 - Fade[1]);
|
||||
// Color.a += texture (Textures [i], Coords).a * (1.0 - Fade [1]);
|
||||
|
||||
Color.a = max (Color.a,
|
||||
texture (Textures [i],Coords).a * (1.0 - Fade[i]));
|
||||
|
||||
texture (Textures [i],Coords).a * (1.0 - Fade [i]));
|
||||
|
||||
// Color.a = max (Color.a,
|
||||
// texture (Textures [i],Coords).a);
|
||||
|
||||
Reference in New Issue
Block a user