mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
31 lines
577 B
Text
31 lines
577 B
Text
|
uniform sampler2D _FlareTexture;
|
||
|
vec4 xlat_main (
|
||
|
in vec4 color_1,
|
||
|
in vec2 texcoord_2
|
||
|
)
|
||
|
{
|
||
|
vec4 tmpvar_3;
|
||
|
tmpvar_3 = texture2D (_FlareTexture, texcoord_2);
|
||
|
return (tmpvar_3 * color_1);
|
||
|
}
|
||
|
|
||
|
void main ()
|
||
|
{
|
||
|
vec4 xl_retval_4;
|
||
|
vec4 tmpvar_5;
|
||
|
tmpvar_5 = gl_Color.xyzw;
|
||
|
vec2 tmpvar_6;
|
||
|
tmpvar_6 = gl_TexCoord[0].xy;
|
||
|
vec4 tmpvar_7;
|
||
|
tmpvar_7 = xlat_main (tmpvar_5, tmpvar_6);
|
||
|
vec4 tmpvar_8;
|
||
|
tmpvar_8 = tmpvar_7;
|
||
|
xl_retval_4 = tmpvar_8;
|
||
|
vec4 tmpvar_9;
|
||
|
tmpvar_9 = xl_retval_4.xyzw;
|
||
|
vec4 tmpvar_10;
|
||
|
tmpvar_10 = tmpvar_9;
|
||
|
gl_FragData[0] = tmpvar_10;
|
||
|
}
|
||
|
|