mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
9 lines
174 B
GLSL
9 lines
174 B
GLSL
|
varying vec3 normal;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
||
|
gl_FrontColor = gl_Color;
|
||
|
normal = vec3(gl_MultiTexCoord0.xy, 1.0);
|
||
|
}
|