power_play/res/shaders/common.hlsl

10 lines
126 B
HLSL

float4 linear_from_srgb(float4 srgb)
{
return float4(pow(srgb.rgb, 2.2), srgb.a);
}
float bla(float a)
{
return a;
}