mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 21:56:47 +00:00
9d3be5713b
This was SVN commit r3113.
11 lines
227 B
GLSL
11 lines
227 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;
|
|
}
|