preserve glowmap operating as faux lights for probes via oversaturation

(cherry picked from commit 5a2e04838e)
This commit is contained in:
AzaezelX 2023-01-20 12:23:12 -06:00
parent 556937ec09
commit e83028d9ae
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ void main()
vec4 bloom = texture( bloomTex, IN_uv2 );
// Add the bloom effect.
_sample.rgb = mix(_sample.rgb, bloom.rgb, vec3(0.4));
_sample.rgb +=bloom.rgb;
//Apply Exposure
_sample.rgb *= TO_Exposure(_sample.rgb, exposureValue, colorFilter);

View file

@ -95,7 +95,7 @@ float4 main( PFXVertToPix IN ) : TORQUE_TARGET0
float4 bloom = TORQUE_TEX2D( bloomTex, IN.uv2 );
// Add the bloom effect.
sample.rgb = lerp(sample.rgb, bloom.rgb, float3(0.04, 0.04, 0.04));
sample.rgb += bloom.rgb;
//Apply Exposure
sample.rgb *= TO_Exposure(sample.rgb, exposureValue, colorFilter);