text3d.frag 273 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
//Strings3D::fragmentShaderText1

VARYING_FRAG vec2 tex_coord;
uniform sampler2D FontTexture;
uniform vec3 color;
FRAG_OUT_DEF;
void main (void)
{
	float lum = texture2D(FontTexture, tex_coord).s;;
10
// no "}" because it is added in the shader class code (with other things)