Show texel border and more swizzle options

This commit is contained in:
Simon Lübeß
2025-02-24 23:00:46 +01:00
parent 0236130df1
commit 824c19c0b2
3 changed files with 108 additions and 23 deletions
@@ -72,7 +72,7 @@ float3x3 ConstructTangentSpace(float3 normal, float3 tangent, float3 sigma)
*/
float ColorToLuminance(float3 rgb)
{
return rgb.r * 0.212639 + rgb.g * 0.715169 + rgb.b * 0.072192;
return rgb.r * 0.212639 + rgb.g * 0.715169 + rgb.b * 0.072192;
}
/**