mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
11 lines
255 B
Text
11 lines
255 B
Text
#extension GL_ARB_shader_texture_lod : enable
|
|
varying vec4 xlv_TEXCOORD0;
|
|
uniform sampler2D tex;
|
|
void main ()
|
|
{
|
|
vec4 tmpvar_1;
|
|
tmpvar_1.zw = vec2(0.0, 0.0);
|
|
tmpvar_1.xy = xlv_TEXCOORD0.xy;
|
|
gl_FragData[0] = texture2DLod (tex, tmpvar_1.xy, 0.0);
|
|
}
|
|
|