summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-fs-texturelod-01.frag
blob: 23d2510b6e532b59ef4f653cc23a14b4e4aa696b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * \file glsl-fs-texture-lod-01.frag
 */

#version 120
#extension GL_ARB_shader_texture_lod: enable

uniform sampler2D sampler;
uniform float lod;

varying vec2 texcoord;

void main()
{
	gl_FragColor = texture2DLod(sampler, texcoord, lod);
}