removed opacity node

This node has been superseded by the math node since it essentially functions
as a multiply.
This commit is contained in:
itsmattkc
2020-04-20 17:48:35 +10:00
parent 1474a505ee
commit cb14af326c
4 changed files with 0 additions and 44 deletions
-1
View File
@@ -48,7 +48,6 @@ void NodeFactory::Initialize()
}
library_.append(new ExternalNode(":/shaders/blur.xml"));
library_.append(new ExternalNode(":/shaders/opacity.xml"));
library_.append(new ExternalNode(":/shaders/solid.xml"));
library_.append(new ExternalNode(":/shaders/stroke.xml"));
library_.append(new ExternalNode(":/shaders/alphaover.xml"));
-10
View File
@@ -1,10 +0,0 @@
#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);
}
-31
View File
@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<effect id="org.olivevideoeditor.Olive.opacity">
<!-- Effect Name -->
<name lang="en_US">Opacity</name>
<!-- Effect Category -->
<category lang="en_US">Color</category>
<category lang="en_GB">Colour</category>
<!-- Effect Description -->
<description lang="en_US">
Adjust an image's opacity (transparency).
</description>
<!-- Parameter: Texture Input -->
<param id="tex_in" type="texture">
<name lang="en_US">Texture</name>
</param>
<!-- Parameter: Opacity Value -->
<param id="opacity_in" type="float">
<name lang="en_US">Opacity</name>
<min>0</min>
<max>1</max>
<view>percent</view>
<default>1</default>
</param>
<!-- Qt Resource path to fragment shader -->
<fragment url=":/shaders/opacity.frag" />
</effect>
-2
View File
@@ -12,8 +12,6 @@
<file>dropshadow.xml</file>
<file>diptoblack.frag</file>
<file>diptoblack.xml</file>
<file>opacity.frag</file>
<file>opacity.xml</file>
<file>solid.frag</file>
<file>solid.xml</file>
<file>stroke.frag</file>