diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/simple.vert | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/data/simple.vert b/data/simple.vert index d9cebc2..db532be 100644 --- a/data/simple.vert +++ b/data/simple.vert @@ -24,9 +24,7 @@ void main(void) vec4 px_ws = m[int(weight.x)] * position; vec4 py_ws = m[int(weight.y)] * position; - /* FINISME: Blend the transformed locations. - */ - vec4 p_ws = px_ws; + vec4 p_ws = mix(py_ws, px_ws, weight.z); /* Transform the final world-space position to camera-space and |