#version 120 uniform sampler2D tex; uniform float dist; void main() { vec4 tc = texture2D(tex, gl_TexCoord[0].st); gl_FragColor = tc * gl_Color * .3; } /* vim: set syn=glsl: */