mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
15 lines
281 B
Text
15 lines
281 B
Text
uniform mat4 mvp;
|
|
uniform mat4 unusedMatrix;
|
|
uniform float unusedFloat;
|
|
attribute vec4 myColor;
|
|
attribute vec3 myUnused;
|
|
void main ()
|
|
{
|
|
vec4 tmpvar_1;
|
|
tmpvar_1 = (mvp * gl_Vertex);
|
|
gl_Position = tmpvar_1;
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = myColor;
|
|
gl_FrontColor = tmpvar_2;
|
|
}
|
|
|