mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -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;
|
|
}
|
|
|