From 0efd8345242c10ffce84c2eea8a043d8b988c563 Mon Sep 17 00:00:00 2001 From: shubidumdu Date: Fri, 17 May 2024 00:18:56 +0900 Subject: [PATCH] Rollback F0 to vec3(0.04) --- pages/pbr/shaders/pbr.fragment.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/pbr/shaders/pbr.fragment.glsl b/pages/pbr/shaders/pbr.fragment.glsl index 53cd444..9ec88b0 100644 --- a/pages/pbr/shaders/pbr.fragment.glsl +++ b/pages/pbr/shaders/pbr.fragment.glsl @@ -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);