mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-03 12:56:50 -05:00
9 lines
134 B
Text
9 lines
134 B
Text
|
void main ()
|
||
|
{
|
||
|
vec4 res;
|
||
|
res.xyz = ((gl_TexCoord[0].xyz * vec3(0.5, 0.5, -0.5)) + 0.5);
|
||
|
res.w = 0.0;
|
||
|
gl_FragData[0] = res;
|
||
|
}
|
||
|
|