mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-04 20:15:16 +00:00
commit
93a36f006f
2 changed files with 2 additions and 2 deletions
|
|
@ -43,5 +43,5 @@ float4 main( PFXVertToPix IN ) : TORQUE_TARGET0
|
|||
fogData.y,
|
||||
fogData.z );
|
||||
|
||||
return hdrEncode( float4( fogColor.rgb, 1.0 - saturate( factor ) ) );
|
||||
return hdrEncode( float4( toLinear(fogColor.rgb), 1.0 - saturate( factor ) ) );
|
||||
}
|
||||
|
|
@ -48,5 +48,5 @@ void main()
|
|||
fogData.y,
|
||||
fogData.z );
|
||||
|
||||
OUT_col = hdrEncode( vec4( fogColor.rgb, 1.0 - saturate( factor ) ) );
|
||||
OUT_col = hdrEncode( vec4( toLinear(fogColor.rgb), 1.0 - saturate( factor ) ) );
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue