diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-10-20 23:34:05 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-10-20 23:34:05 +0530 |
| commit | bfd7af6c4772c68f001c5c121b62b134bbca04e4 (patch) | |
| tree | 83141b998d5bf1abd41bb57f47b394abbfbd579d /templates/glsl | |
| parent | a2cbcea7144380cfa51d050530251c1dd9bc4d1a (diff) | |
| download | art-playground-openrndr-bfd7af6c4772c68f001c5c121b62b134bbca04e4.tar.gz art-playground-openrndr-bfd7af6c4772c68f001c5c121b62b134bbca04e4.zip | |
Add placenta
Diffstat (limited to '')
| -rw-r--r-- | templates/glsl/kotlin/Program.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/glsl/kotlin/Program.kt b/templates/glsl/kotlin/Program.kt index f0447f2..7aab7ff 100644 --- a/templates/glsl/kotlin/Program.kt +++ b/templates/glsl/kotlin/Program.kt @@ -25,6 +25,7 @@ fun main() = application { } oliveProgram { + val enableAntialiasing = captureEnabled val cs by liveComputeShader("<<name>>") val outputBuffer = colorBuffer(width, height, type = ColorType.UINT8) @@ -41,6 +42,7 @@ fun main() = application { noiseFilter.apply(emptyArray(), noiseBuffer) cs.image("noise_texture", 1, noiseBuffer.imageBinding(0, ImageAccess.READ)) + cs.uniform("enable_antialiasing", enableAntialiasing) cs.uniform("seconds", seconds) cs.image("output_image", 0, outputBuffer.imageBinding(0, ImageAccess.WRITE)) cs.execute(outputBuffer.width, outputBuffer.height, 1) |
