1
0
Fork 0

Bugfix for ALS model shader not displaying lightmap at full darkness beyond some distance

This commit is contained in:
Thorsten Renk 2014-10-22 09:22:06 +03:00
parent 01afaab2e1
commit 37faf4a9d0

View file

@ -22,8 +22,6 @@ uniform sampler2D LightMapTex;
uniform sampler2D NormalTex;
uniform sampler2D ReflMapTex;
uniform sampler2D ReflGradientsTex;
//uniform sampler2D ReflFresnelTex;
//uniform sampler2D ReflRainbowTex;
uniform sampler3D ReflNoiseTex;
uniform samplerCube Environment;
uniform sampler2D GrainTex;
@ -495,6 +493,7 @@ void main (void)
/// END fog color
fragColor = clamp(fragColor, 0.0, 1.0);
hazeColor = clamp(hazeColor, 0.0, 1.0);
///BEGIN Rayleigh fog ///