Files
2026-03-08 15:34:38 -05:00

22 lines
488 B
Plaintext

// __multiversion__
// This signals the loading code to prepend either #version 100 or #version 300 es as apropriate.
#include "shaders/vertexVersionSimple.h"
#include "shaders/uniformWorldConstants.h"
attribute mediump vec4 POSITION;
attribute vec2 TEXCOORD_0;
varying vec2 uv0;
void main()
{
gl_Position = WORLDVIEWPROJ * POSITION;
uv0 = TEXCOORD_0;
//this is to make it come closer to the camera and avoid z-fighting
gl_Position.z -= 0.0001;
}