diff options
author | chai <chaifix@163.com> | 2020-02-26 22:52:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-02-26 22:52:19 +0800 |
commit | 372d77e436d21312ef1a0df622964751716963a3 (patch) | |
tree | 1a71865fea6fb9f2f532422c4b83959fff17ea76 /src/shaders/pbr.c | |
parent | 27687536844ed3b045bba1abd1aae8bb3692f6cb (diff) |
*misc
Diffstat (limited to 'src/shaders/pbr.c')
-rw-r--r-- | src/shaders/pbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shaders/pbr.c b/src/shaders/pbr.c index 666f758..9bb051d 100644 --- a/src/shaders/pbr.c +++ b/src/shaders/pbr.c @@ -56,7 +56,7 @@ static bool frag(UniformCollection* uniforms, FragmentShaderIn* in, Color32* col //vec3_scale(&c, roughness, &c); color32_saturate(&c); *color = c; - vec3_scale(color, 1 - depth, color); + //vec3_scale(color, 1 - depth, color); return 1; } |