[orx-shade-styles] Replace analytic filtering with multisample based filtering

This commit is contained in:
Edwin Jakobs
2025-03-04 17:34:52 +01:00
parent 098a26e1a9
commit 258c3c1535
2 changed files with 49 additions and 47 deletions

View File

@@ -18,20 +18,13 @@ fun main() {
extend {
drawer.shadeStyle = gradient<ColorRGBa> {
stops[0.0] = ColorRGBa.BLACK
stops[0.5] = ColorRGBa.BLUE_STEEL
stops[1.0] = ColorRGBa.WHITE
fillUnits = FillUnits.WORLD
spreadMethod = SpreadMethod.REPEAT
//levelWarpFunction = """float levelWarp(vec2 p, float level) { return level + cos(p.x*0.01 + level)*0.1; } """
//quantization = 3
// stellar {
// radius = drawer.bounds.width/8.0
// center = drawer.bounds.position(0.5, 0.0)
// sides = 6
// sharpness = 0.5
// rotation = seconds * 36.0
// }
quantization = 10
conic {
angle = 360.0 * 8.0
center = drawer.bounds.position(0.5, 0.5)