mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
8 lines
132 B
Text
8 lines
132 B
Text
void main ()
|
|
{
|
|
vec4 c;
|
|
c.x = dot (gl_FragCoord.xyz, vec3(1.0, 2.0, 3.0));
|
|
c.yzw = vec3(4.0, 5.0, 6.0);
|
|
gl_FragColor = c;
|
|
}
|
|
|