text3d.frag 270 Bytes
Newer Older
1
2
3
4
//Strings3D::fragmentShaderText1

VARYING_FRAG vec2 tex_coord;
uniform sampler2D FontTexture;
5
uniform vec4 color;
6
7
8
FRAG_OUT_DEF;
void main (void)
{
Sylvain Thery's avatar
Sylvain Thery committed
9
	float lum = TEXTURE2D(FontTexture, tex_coord).s;
Sylvain Thery's avatar
Sylvain Thery committed
10
// no } because it is added in the shader class code (with other things)