Files
itgmania212121/Data/Shaders/GLSL/Distance field.vert
T
Flameshadowxeroshin c1088c1abc Distance field EffectMode (#1546)
* Distance field EffectMode (supports MSDF and the regular sort)
2017-10-02 05:54:05 -07:00

11 lines
255 B
GLSL

//We need this shader to pass the vertex color to the frag shader
varying vec4 vertexColor;
varying vec2 texCoords;
void main(void) {
vertexColor = gl_Color;
texCoords = gl_MultiTexCoord0.st;
gl_Position = gl_Vertex * gl_ModelViewProjectionMatrix;
}