Files
oak-editor/app/shaders/opacity.frag
T
itsmattkc 965519e9cf ported opacity node to external file format
The plan is to port all nodes that can be external to the external file format.
This should help keep things maintainable.
2019-12-15 02:51:28 +11:00

11 lines
187 B
GLSL

#version 110
varying vec2 ove_texcoord;
uniform sampler2D tex_in;
uniform float opacity_in;
void main(void) {
gl_FragColor = texture2D(tex_in, ove_texcoord) * (opacity_in * 0.01);
}