mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
7 lines
129 B
Text
7 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;
|
||
|
}
|