Data: Fix crt-lottes.glsl for D3D renders

This commit is contained in:
Stenzek 2024-03-03 13:51:07 +10:00
parent a1d7d214cf
commit f4ffaa1e3c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ float3 ToSrgb(float3 c)
float3 Fetch(float2 pos,float2 off){
pos=(floor(pos*GetResolution()+off)+float2(0.5,0.5))*GetInvResolution();
#ifdef SIMPLE_LINEAR_GAMMA
return ToLinear(GetOption(brightBoost) * pow(SampleLocation(pos.xy).rgb, float3(2.2)));
return ToLinear(GetOption(brightBoost) * pow(SampleLocation(pos.xy).rgb, float3(2.2, 2.2, 2.2)));
#else
return ToLinear(GetOption(brightBoost) * SampleLocation(pos.xy).rgb);
#endif