Upgrade to OPENRNDR 0.4 snapshot
This commit is contained in:
@@ -6,7 +6,7 @@ import org.openrndr.extra.fx.blur.*
|
||||
import org.openrndr.math.Polar
|
||||
import kotlin.math.sin
|
||||
|
||||
fun main() {
|
||||
suspend fun main() {
|
||||
application {
|
||||
program {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import org.openrndr.extensions.SingleScreenshot
|
||||
import org.openrndr.extra.fx.distort.FluidDistort
|
||||
import org.openrndr.extra.fx.patterns.Checkers
|
||||
|
||||
fun main() {
|
||||
suspend fun main() {
|
||||
application {
|
||||
program {
|
||||
val fd = FluidDistort()
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.openrndr.extra.noise.simplex
|
||||
import org.openrndr.math.Vector2
|
||||
import kotlin.math.absoluteValue
|
||||
|
||||
fun main() = application {
|
||||
suspend fun main() = application {
|
||||
configure {
|
||||
width = 1280
|
||||
height = 720
|
||||
|
||||
@@ -8,7 +8,7 @@ internal class FilterTools
|
||||
|
||||
|
||||
internal fun filterFragmentUrl(resourceId: String): String {
|
||||
return resourceUrl("gl3/$resourceId", FilterTools::class.java)
|
||||
return resourceUrl("gl3/$resourceId", FilterTools::class)
|
||||
}
|
||||
|
||||
internal data class ColorBufferDescription(val width: Int, val height: Int, val contentScale: Double, val format: ColorFormat, val type: ColorType)
|
||||
|
||||
@@ -10,9 +10,7 @@ import org.openrndr.extra.parameters.IntParameter
|
||||
import org.openrndr.filter.color.delinearize
|
||||
import org.openrndr.filter.color.linearize
|
||||
|
||||
class BloomDownscale : Filter(filterShaderFromUrl(filterFragmentUrl("blur/bloom-downscale.frag"))) {
|
||||
|
||||
}
|
||||
class BloomDownscale : Filter(filterShaderFromUrl(filterFragmentUrl("blur/bloom-downscale.frag")))
|
||||
|
||||
class BloomUpscale : Filter(filterShaderFromUrl(filterFragmentUrl("blur/bloom-upscale.frag"))) {
|
||||
var gain: Double by parameters
|
||||
|
||||
Reference in New Issue
Block a user