9 lines
154 B
GLSL
9 lines
154 B
GLSL
// "empty" vertex shader
|
|
|
|
varying vec2 texcoord;
|
|
|
|
void main() {
|
|
gl_Position = ftransform();
|
|
texcoord = (gl_TextureMatrix[0] * gl_MultiTexCoord0).xy;
|
|
}
|
|
|