cloudlayer hdr packing

fixes for #1126
This commit is contained in:
Azaezel 2015-01-25 17:56:17 -06:00
parent 6492028bb2
commit 86770cb3c1
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@
//-----------------------------------------------------------------------------
#include "hlslCompat.glsl"
#include "torque.glsl"
//-----------------------------------------------------------------------------
// Structures
//-----------------------------------------------------------------------------
@ -143,5 +143,5 @@ void main()
cResultColor.a = mix( cResultColor.a, 0.0, 1.0 - pow(IN_worldDist,2.0) );
OUT_col = cResultColor;
OUT_col = hdrEncode(cResultColor);
}

View file

@ -21,7 +21,7 @@
//-----------------------------------------------------------------------------
#include "hlslCompat.glsl"
#include "torque.glsl"
//-----------------------------------------------------------------------------
// Structures
//-----------------------------------------------------------------------------
@ -143,5 +143,5 @@ void main()
cResultColor.a = mix( cResultColor.a, 0.0, 1.0 - pow(IN_worldDist,2.0) );
OUT_col = cResultColor;
OUT_col = hdrEncode(cResultColor);
}