Files
OpenSceneGraph/examples/osgprecipitation/rain.frag
2006-04-07 18:24:52 +00:00

9 lines
160 B
GLSL

uniform sampler2D baseTexture;
varying vec2 texCoord;
varying vec4 colour;
void main (void)
{
gl_FragColor = colour * texture2D( baseTexture, texCoord);
}