mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
11 lines
370 B
Text
11 lines
370 B
Text
uniform sampler2D _FlareTexture;
|
|
lowp vec4 xlat_main( in lowp vec4 color, in highp vec2 texcoord ) {
|
|
return (texture2D( _FlareTexture, texcoord) * color);
|
|
}
|
|
varying lowp vec4 xlv_COLOR;
|
|
varying highp vec2 xlv_TEXCOORD0;
|
|
void main() {
|
|
lowp vec4 xl_retval;
|
|
xl_retval = xlat_main( vec4(xlv_COLOR), vec2(xlv_TEXCOORD0));
|
|
gl_FragData[0] = vec4( xl_retval);
|
|
}
|