|
@@ -287,7 +287,7 @@ function HDRPostFX::onEnabled( %this )
|
|
// Set the right global shader define for HDR.
|
|
// Set the right global shader define for HDR.
|
|
if ( %format $= "GFXFormatR10G10B10A2" )
|
|
if ( %format $= "GFXFormatR10G10B10A2" )
|
|
addGlobalShaderMacro( "TORQUE_HDR_RGB10" );
|
|
addGlobalShaderMacro( "TORQUE_HDR_RGB10" );
|
|
- else if ( %format $= "GFXFormatR16G16B16A16" )
|
|
|
|
|
|
+ else if ( %format $= "GFXFormatR16G16B16A16F" )
|
|
addGlobalShaderMacro( "TORQUE_HDR_RGB16" );
|
|
addGlobalShaderMacro( "TORQUE_HDR_RGB16" );
|
|
|
|
|
|
echo( "HDR FORMAT: " @ %format );
|
|
echo( "HDR FORMAT: " @ %format );
|