Merge pull request #1128 from Azaezel/cloudlayer

cloudlayer hdr packing
This commit is contained in:
Luis Anton Rebollo 2015-02-07 20:50:29 +01:00
commit 2d3f711443
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);
}