mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
10 lines
163 B
Text
10 lines
163 B
Text
uniform mat4 mvp;
|
|
attribute vec4 myColor;
|
|
void main ()
|
|
{
|
|
gl_Position = (mvp * gl_Vertex);
|
|
gl_FrontColor = myColor;
|
|
}
|
|
|
|
|
|
// inputs: 2, stats: 1 alu 0 tex 0 flow
|