// __multiversion__ // This signals the loading code to prepend either #version 100 or #version 300 es as apropriate. #include "shaders/vertexVersionCentroidUV.h" #include "shaders/uniformWorldConstants.h" #include "shaders/uniformShaderConstants.h" attribute POS4 POSITION; attribute vec2 TEXCOORD_0; void main() { gl_Position = WORLDVIEWPROJ * POSITION; uv = (UV_TRANSFORM * vec4(TEXCOORD_0, 0, 1)).xy; }