Archived
1
Fork 0

Fix BRDF integration

* I guess I changed this somehow and never fixed it??
This commit is contained in:
redstrate 2021-05-11 14:34:31 -04:00
parent fea83fc2e3
commit dba0541376

View file

@ -7,7 +7,7 @@ layout(location = 0) out vec2 outColor;
vec2 IntegrateBRDF(float NdotV, float roughness) {
vec3 V;
V.x = sqrt(1.0 - NdotV*NdotV);
V.y = 1.0;
V.y = 0.0;
V.z = NdotV;
float A = 0.0;