mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-20 18:45:10 +00:00
34f1817869
This was SVN commit r6391.
11 lines
237 B
GLSL
11 lines
237 B
GLSL
vec4 InstancingPosition(vec4 position);
|
|
|
|
void main()
|
|
{
|
|
vec4 worldPos = InstancingPosition(gl_Vertex);
|
|
|
|
gl_FrontColor = gl_Color;
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
gl_Position = gl_ModelViewProjectionMatrix * worldPos;
|
|
}
|