mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
8 lines
142 B
Text
8 lines
142 B
Text
void main ()
|
|
{
|
|
vec4 res_1;
|
|
res_1.xyz = ((gl_TexCoord[0].xyz * vec3(0.5, 0.5, -0.5)) + 0.5);
|
|
res_1.w = 0.0;
|
|
gl_FragData[0] = res_1;
|
|
}
|
|
|