diff options
author | chai <chaifix@163.com> | 2019-12-23 23:59:02 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-23 23:59:02 +0800 |
commit | d49f3d3f73709a9a7c0bce53aa13ed28a2bd27cb (patch) | |
tree | 3fc2cca442106a56fc151c5faffbb24217ca83f5 /src/shaders/pbr.c | |
parent | ec111247c614663d8231245a17c314b9b8b4a28c (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 bd78c8b..6db3d68 100644 --- a/src/shaders/pbr.c +++ b/src/shaders/pbr.c @@ -22,7 +22,7 @@ static void vert(UniformCollection* uniforms, VertexShaderIn* in, Vec4* clipcoord) { static Vec4 p; p.xyz = in->vertex->position; p.w = 1; - mat4_mulvec4(uniforms->mvp, &p, clipcoord); + object2clip(&p, clipcoord); Vec4 normal = { in->vertex->normal.x, in->vertex->normal.y, |