Files
itgmania212121/Data/Shaders/GLSL/Distance field.vert
T

11 lines
255 B
GLSL
Raw Normal View History

2017-10-02 07:54:05 -05:00
//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;
}