mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
9 lines
193 B
Text
9 lines
193 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;
|
|
}
|
|
|