mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
12 lines
248 B
GLSL
12 lines
248 B
GLSL
uniform sampler2D sampler;
|
|
uniform float opacity;
|
|
|
|
varying vec2 texcoord0;
|
|
|
|
void main()
|
|
{
|
|
//vec4 tex = texture2D(sampler, texcoord0);
|
|
//tex *= opacity;
|
|
//gl_FragColor = tex;
|
|
gl_FragColor = texture2D(sampler, texcoord0) * opacity;
|
|
}
|