2012-01-30 04:27:25 +01:00
|
|
|
uniform float opacity; // painter opacity
|
|
|
|
uniform vec4 color; // painter color
|
|
|
|
uniform float time; // time in seconds since shader linkage
|
2012-04-08 21:28:03 +02:00
|
|
|
uniform sampler2D tex0; // map texture
|
|
|
|
varying vec2 texCoord; // map texture coords
|
2012-02-07 08:59:20 +01:00
|
|
|
//uniform int itemId; // item id
|
2012-01-30 04:27:25 +01:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2012-04-08 21:28:03 +02:00
|
|
|
gl_FragColor = texture2D(tex0, texCoord);
|
2012-01-30 04:27:25 +01:00
|
|
|
}
|