mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 08:41:31 -05:00
10 lines
193 B
Text
10 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;
|
||
|
}
|
||
|
|