diff options
Diffstat (limited to 'examples/bezier-curve/shaders/bezier-curve.vert')
-rw-r--r-- | examples/bezier-curve/shaders/bezier-curve.vert | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/examples/bezier-curve/shaders/bezier-curve.vert b/examples/bezier-curve/shaders/bezier-curve.vert index a108a415..1f807a54 100644 --- a/examples/bezier-curve/shaders/bezier-curve.vert +++ b/examples/bezier-curve/shaders/bezier-curve.vert @@ -1,6 +1,12 @@ -attribute mediump vec2 aPosition; -uniform mediump mat4 uMvpMatrix; -uniform vec3 uSize; +//@version 100 + +INPUT mediump vec2 aPosition; + +UNIFORM_BLOCK Vanilla +{ +UNIFORM mediump mat4 uMvpMatrix; +UNIFORM vec3 uSize; +}; void main() { |