Add LumaOpacity, StackRepeat filters, fix LumaMap, add bicubic filtering

This commit is contained in:
Edwin Jakobs
2020-02-08 23:50:09 +01:00
parent a6d4e38fb9
commit 6c48cf2e83
7 changed files with 159 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import org.openrndr.extra.fx.filterFragmentCode
import org.openrndr.extra.parameters.Description
import org.openrndr.extra.parameters.DoubleParameter
@Description("Horizontal wave")
@Description("Block repeat")
class BlockRepeat : Filter(Shader.createFromCode(filterVertexCode, filterFragmentCode("distort/block-repeat.frag"))) {
@DoubleParameter("block width", 0.0, 1.0, order = 0)
var blockWidth: Double by parameters