Skip to content

Commit e241230

Browse files
committed
Update cAutoExposure.fx
1 parent c6ef8f2 commit e241230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shaders/cAutoExposure.fx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ float4 PS_Blit(VS2PS_Quad Input) : SV_TARGET0
9898
// OutputColor0.rgb = Output the highest brightness out of red/green/blue component
9999
// OutputColor0.a = Output the weight for temporal blending
100100
float Delay = 1e-3 * _Frametime;
101-
return float4(log(Color.rgb), saturate(Delay * _SmoothingSpeed));
101+
return float4(log(Luma.rgb), saturate(Delay * _SmoothingSpeed));
102102
}
103103

104104
float3 GetAutoExposure(float3 Color, float2 Tex)

0 commit comments

Comments
 (0)