mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
9 lines
208 B
Text
9 lines
208 B
Text
uniform sampler2D _MainTex;
|
|
uniform vec4 _TintColor;
|
|
void main ()
|
|
{
|
|
gl_FragData[0] = (((2.0 * gl_Color) * _TintColor) * texture2D (_MainTex, gl_TexCoord[0].xy));
|
|
}
|
|
|
|
|
|
// inputs: 2, stats: 3 alu 1 tex 0 flow
|