X-Git-Url: https://codewiz.org/gitweb?p=mandelwow.git;a=blobdiff_plain;f=shaders%2Fmandelwow.vert;h=b7556a72d8b5c2618c03153779a9bff35cd1b198;hp=0e67eda0dbe0978125073f164f24143c9409d779;hb=dc34aed50b5cb3840468af2591c2a0ea0f8abc29;hpb=6ef74275da11e766c2cbe53b676df6188203cae3 diff --git a/shaders/mandelwow.vert b/shaders/mandelwow.vert index 0e67eda..b7556a7 100644 --- a/shaders/mandelwow.vert +++ b/shaders/mandelwow.vert @@ -1,11 +1,12 @@ -#version 100 +#version 300 es +precision lowp float; uniform mat4 perspective; uniform mat4 view; uniform mat4 model; uniform vec2 z0; -attribute mediump vec3 position; -varying mediump vec2 c; -varying mediump vec2 z; +in vec3 position; +out vec2 c; +out vec2 z; void main() { mat4 modelview = view * model;