Skip to content

Commit

Permalink
Rollback F0 to vec3(0.04)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubidumdu committed May 16, 2024
1 parent 2342581 commit 0efd834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/pbr/shaders/pbr.fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void main(void){
vec3 V=normalize(cameraPosition - vPosition);
vec3 R = reflect(-V, N);

vec3 F0=vec3(0.95, 0.64, 0.54);
vec3 F0=vec3(0.04);
F0=mix(F0, albedo, metallic);

vec3 Lo = vec3(0.0);
Expand Down

0 comments on commit 0efd834

Please sign in to comment.