mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
6 lines
129 B
Text
6 lines
129 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;
|
|
}
|