Fixed BRDF LUT generation

Refs #953
This commit is contained in:
Sascha Willems 2022-06-17 07:27:17 +02:00
parent 27411eb02c
commit 4390eb0ff8
4 changed files with 2 additions and 2 deletions

View file

@ -86,5 +86,5 @@ vec2 BRDF(float NoV, float roughness)
void main() void main()
{ {
outColor = vec4(BRDF(inUV.s, 1.0-inUV.t), 0.0, 1.0); outColor = vec4(BRDF(inUV.s, inUV.t), 0.0, 1.0);
} }

View file

@ -84,5 +84,5 @@ float2 BRDF(float NoV, float roughness)
float4 main([[vk::location(0)]] float2 inUV : TEXCOORD0) : SV_TARGET float4 main([[vk::location(0)]] float2 inUV : TEXCOORD0) : SV_TARGET
{ {
return float4(BRDF(inUV.x, 1.0-inUV.y), 0.0, 1.0); return float4(BRDF(inUV.x, inUV.y), 0.0, 1.0);
} }