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