11 lines
240 B
GLSL
11 lines
240 B
GLSL
|
|
uniform mat4 trans;
|
|
|
|
void main() {
|
|
// transform the vertex position
|
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
|
|
|
// transform the texture coordinates
|
|
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
|
|
}
|