...is now freeSome example functions included in the toolkit contained source code that didn't have a commercial license. We apologize to the mercury group--amidst the excitement of finishing the tools we overlooked that we included code we used for testing that wasn't ours to include in the final package (it was licensed as Creative Commons Attribution-NonCommercial). We're learning, and as a result we're making the project freely available. Enjoy!
Raymarching is a way to render using solid shapes instead of polygons.
In raymarching, a scene is made out of a series of algorithms and mathematical operations.
With raymarching you can do amazing things, like blend objects together or repeat them infinitely.
Amazing demos and shadertoys use raymarching, but usually you need lots of shader know-how to work with this technique.
Raymarching Toolkit generates shaders for you and lets you create raymarched scenes in Unity without any shader programming and in realtime.
Raymarching Toolkit is a Unity add-on to create raymarched scenes, without coding.
Raymarching Toolkit is a set of Components for manipulating raymarched objects right inside the Unity Editor.
Setting up a scene is easy:
Add a Raymarched Object component, choose a shape and edit its parameters.
Add a Raymarched Blend component to join shapes together in interesting ways.
Add a Raymarched Modifier component to effectively bend space, and do things like mirroring and repeating.
Raymarching Toolkit is designed to be as seamless as possible and let you explore the possibilities of this new technology in a playful way.
Advanced users can also make their own shape functions and control the shader generation easily.
Dozens of ready-made objects primitives, blends and modifiers.
Fractals, terrain, a character editor, and more.
Lets you fly through your scene.
Ambient Occlusion, Fog, and settings to balance image quality and framerate.
Raymarched objects coexist with regular geometry.
Runs on WebGL as well as standalone builds.
High-end GPU required.
Raymarching opens up amazing possibilities
We made Raymarching Toolkit because we were struck by how beautiful and fascinating the possibilities are.
We are immensely inspired by the artists and programmers that share these techniques. We want to contribute by inspiring non-programmers to play with this type of rendering and see it applied in interactive applications.
Manipulating objects in completely different ways than traditional polygon-based scenes is really exciting and feels like unexplored territory in videogames.
We can’t wait to see what you create!
Since raymarching is very perfomance-heavy, note that the Raymarching Toolkit requires a gaming-grade GPU, and the resulting framerate can be limited:
- Complex scenes are perfomance-heavy and might cause slow-downs in the Unity Editor when adding or removing objects.
- The scene’s structure remains static at runtime. Objects and parameters can be moved and changed, but can’t be added or deleted during Play mode.
Raymarching Toolkit includes several optimizations and settings to counteract the limitations. For more details, see Limitations.
Unity 2017+ is required.
Includes a Unity package with core components, renderer and examples.