summaryrefslogtreecommitdiff
path: root/src/shaders/pbr.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-07-19 17:01:00 +0800
committerchai <chaifix@163.com>2020-07-19 17:01:00 +0800
commit5b89a0fab0a46764c92979797681bf170125a7da (patch)
tree753d40800dc7dc423bd89e429e6154ca8441d654 /src/shaders/pbr.c
parent4deff343b5fd928ae9475eedcf9b6add34b31ae2 (diff)
*early back face culling
Diffstat (limited to 'src/shaders/pbr.c')
-rw-r--r--src/shaders/pbr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shaders/pbr.c b/src/shaders/pbr.c
index 8a47051..a917f95 100644
--- a/src/shaders/pbr.c
+++ b/src/shaders/pbr.c
@@ -48,6 +48,7 @@ static bool frag( Vec4* color) {
//Color32 nc = tex2d(noramltex, in->texcoord);
//internal_vec3_scale(&c, roughness, &c);
*color = vec4_saturate(c);
+ //*color = vec4(1,1,1,1);
//*color = vec4(depth, depth, depth, 1);
//internal_vec3_scale(color, 1 - depth, color);
return 1;