2011-12-28 20:38:29 +01:00
|
|
|
uniform float opacity; // painter opacity
|
|
|
|
uniform vec4 color; // painter color
|
|
|
|
uniform float time; // time in seconds since shader linkage
|
|
|
|
uniform sampler2D texture; // map texture
|
|
|
|
varying vec2 textureCoords; // map texture coords
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2012-04-05 21:08:46 +02:00
|
|
|
gl_FragColor = texture2D(texture, textureCoords);
|
2011-12-28 20:38:29 +01:00
|
|
|
}
|