mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 11:05:36 -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;
|
||
|
}
|
||
|
|