mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-12 01:01:30 -05:00
11 lines
234 B
Text
11 lines
234 B
Text
uniform sampler2D _MainTex;
|
|
void main ()
|
|
{
|
|
vec4 col_1;
|
|
col_1.xyz = (texture2D (_MainTex, gl_TexCoord[0].xy).xyz * (gl_TexCoord[1].xyz * 2.0));
|
|
col_1.w = 1.0;
|
|
gl_FragData[0] = col_1;
|
|
}
|
|
|
|
|
|
// inputs: 1, stats: 3 alu 1 tex 0 flow
|