A set of modules that facilitate authoring shaders using Kotlin's typesafe builders. ORSL depends on OPENRNDR and ORX.
Take a look at the programs under the demos folder to get started. Screenshots of the programs can be found in this post.
The next-version
branch of the openrndr-template includes ORSL.
Simply uncomment the ORSL dependencies
section in the build.gradle.kts
file and you are ready use ORSL features in your template.
The simplest way to experiment with ORSL is to clone this repo and play with the programs in the demos folder.
If you want to customize ORSL and use it in your local template-based programs:
- Clone this repo
- Build a SNAPSHOT
./gradlew publishToMavenLocal snapshot
- Go to your copy openrndr-template
- Switch to the
next-version
branch. - Make sure
orsl
ingradle/libs.versions.toml
points to the SNAPSHOT version you just built on step 2. - Uncomment the
ORSL dependencies
section in thebuild.gradle.kts
file.
Module | Description |
---|---|
orsl-glsl-parser |
Antlr based GLSL parser |
orsl-shader-generator |
DSLs, shader phrases, shader preprocessor. |
orsl-shader-generator-annotations |
|
orsl-shader-generator-processor |
KSP based annotation processor |