You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
320 B
11 lines
320 B
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()
|
|
{
|
|
gl_FragColor = texture2D(texture, textureCoords) * color * opacity;
|
|
}
|