mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
13 lines
292 B
GLSL
13 lines
292 B
GLSL
#version 120
|
|
void main()
|
|
{
|
|
// transform the vertex position
|
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
|
|
|
// transform the texture coordinates
|
|
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
|
|
|
|
// forward the vertex color
|
|
gl_FrontColor = gl_Color;
|
|
}
|