mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
12 lines
370 B
Text
12 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);
|
||
|
}
|