We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ef8f2 commit e241230Copy full SHA for e241230
shaders/cAutoExposure.fx
@@ -98,7 +98,7 @@ float4 PS_Blit(VS2PS_Quad Input) : SV_TARGET0
98
// OutputColor0.rgb = Output the highest brightness out of red/green/blue component
99
// OutputColor0.a = Output the weight for temporal blending
100
float Delay = 1e-3 * _Frametime;
101
- return float4(log(Color.rgb), saturate(Delay * _SmoothingSpeed));
+ return float4(log(Luma.rgb), saturate(Delay * _SmoothingSpeed));
102
}
103
104
float3 GetAutoExposure(float3 Color, float2 Tex)
0 commit comments