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

16 lines
415 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;
void main()
{
gl_Position = WORLDVIEWPROJ * POSITION;
//this is to make it come closer to the camera and avoid z-fighting
gl_Position.z -= 0.0001;
}