mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-04 21:31:11 -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;
|
||
|
}
|