X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=shaders%2Fmandelwow.vert;h=b7556a72d8b5c2618c03153779a9bff35cd1b198;hb=29b275596efed3b3064072483aa6d8c4cba1e3d4;hp=0e67eda0dbe0978125073f164f24143c9409d779;hpb=147dc8ea810d9be0f965b1b80a208956f944d7fc;p=mandelwow.git 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;