diff options
author | chai <chaifix@163.com> | 2020-07-18 02:48:39 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-07-18 02:48:39 +0800 |
commit | e5e995103377f9bb79123ef8257d8680ed0945fc (patch) | |
tree | 1831f3d2242c8173075576816b9032001580d20b /src/shaders/pbr.c | |
parent | 275bf123ff505eef3333ba41385ed3814eb9a507 (diff) |
*late culling
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 e4afbf4..556208e 100644 --- a/src/shaders/pbr.c +++ b/src/shaders/pbr.c @@ -27,7 +27,7 @@ static void vert(UniformCollection* uniforms, VertexShaderIn* in, Vec4* clipcoor //*rough = 1 - internal_vec3_dot(&worldnormal, light); //*vnormal = in->vertex->normal; *_texcoord = in->vertex->texcoord; - _clip_pos->x = clipcoord->z; + _clip_pos->x = clipcoord->z; _clip_pos->y = clipcoord->w; } |