0-100 thresholds + invert checkboxes

Removes the need for piping the effect between Invert effects, which makes a unnecessary performance hit.
This commit is contained in:
oc1024
2019-01-25 09:13:24 -02:00
committed by GitHub
parent ac12a73486
commit e6df7de6bc
4 changed files with 26 additions and 18 deletions
+6 -3
View File
@@ -1,10 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<effect name="Luma Key" category="Keying">
<row name="Lower Limit">
<field type="double" min="0" default="0" max="1" id="loc"/>
<field type="double" min="0" default="0" max="100" id="loc"/>
</row>
<row name="Upper Limit">
<field type="double" min="0" default="1" max="1" id="hic"/>
<field type="double" min="0" default="100" max="100" id="hic"/>
</row>
<row name="Invert">
<field type="bool" min="0" default="100" max="100" id="invert"/>
</row>
<shader vert="common.vert" frag="lumakey.frag"/>
</effect>
</effect>