mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-12 01:01:30 -05:00
10 lines
209 B
Text
10 lines
209 B
Text
uniform sampler2D _MainTex;
|
|
varying vec4 xlv_COLOR;
|
|
varying vec2 xlv_TEXCOORD0;
|
|
void main ()
|
|
{
|
|
gl_FragData[0] = (xlv_COLOR * texture2D (_MainTex, xlv_TEXCOORD0));
|
|
}
|
|
|
|
|
|
// inputs: 2, stats: 1 alu 1 tex 0 flow
|