Resources: Fix crt-lottes under Direct3D

And add additional builtin shaders.
This commit is contained in:
Stenzek
2023-12-28 20:43:52 +10:00
parent 344d2ccd5d
commit a22eef63b9
8 changed files with 978 additions and 4 deletions

View File

@ -133,7 +133,7 @@ float3 ToLinear(float3 c)
}
float3 ToSrgb(float3 c)
{
return pow(c, float3(1.0 / 2.2));
return pow(c, float3(1.0 / 2.2, 1.0 / 2.2, 1.0 / 2.2));
}
#else
float ToLinear1(float c)