mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
9 lines
241 B
Text
9 lines
241 B
Text
void main ()
|
|
{
|
|
gl_Position = (gl_ModelViewProjectionMatrix * gl_Vertex);
|
|
vec4 tmpvar_1;
|
|
tmpvar_1.w = 1.0;
|
|
tmpvar_1.xyz = (((mat3(0.1, 0.8, 0.1, 0.3, 0.3, 0.5, 0.9, 0.0, 0.1) * gl_Normal) * 0.5) + 0.5);
|
|
gl_FrontColor = tmpvar_1;
|
|
}
|
|
|