mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
12 lines
268 B
Text
12 lines
268 B
Text
uniform sampler2D _GrabTexture;
|
|
void main ()
|
|
{
|
|
gl_FragData[0] = (1.0 - texture2DProj (_GrabTexture, gl_TexCoord[0]));
|
|
}
|
|
|
|
|
|
// stats: 1 alu 1 tex 0 flow
|
|
// inputs: 1
|
|
// #0: gl_TexCoord (high float) 4x1 [1] loc 4
|
|
// textures: 1
|
|
// #0: _GrabTexture (high 2d) 0x0 [-1]
|