bgfx/3rdparty/glsl-optimizer/tests/fragment/complex-flare-inES.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

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);
}