Fix BRDF integration
* I guess I changed this somehow and never fixed it??
This commit is contained in:
parent
fea83fc2e3
commit
dba0541376
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ layout(location = 0) out vec2 outColor;
|
||||||
vec2 IntegrateBRDF(float NdotV, float roughness) {
|
vec2 IntegrateBRDF(float NdotV, float roughness) {
|
||||||
vec3 V;
|
vec3 V;
|
||||||
V.x = sqrt(1.0 - NdotV*NdotV);
|
V.x = sqrt(1.0 - NdotV*NdotV);
|
||||||
V.y = 1.0;
|
V.y = 0.0;
|
||||||
V.z = NdotV;
|
V.z = NdotV;
|
||||||
|
|
||||||
float A = 0.0;
|
float A = 0.0;
|
||||||
|
|
Reference in a new issue