mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
14 lines
236 B
Text
14 lines
236 B
Text
void main ()
|
|
{
|
|
vec2 uv_1;
|
|
uv_1 = gl_TexCoord[0].xy;
|
|
if ((uv_1.x < 0.0)) {
|
|
discard;
|
|
};
|
|
gl_FragData[0] = vec4(0.5, 0.5, 0.5, 0.5);
|
|
}
|
|
|
|
|
|
// stats: 2 alu 1 tex 1 flow
|
|
// inputs: 1
|
|
// #0: gl_TexCoord (high float) 4x1 [1] loc 4
|