#Interactive generator and modeler for SDF raymarching shaders

1 messages · Page 1 of 1 (latest)

ruby rune
#

I wrote a unity modeller and shader generator using in-editor gizmos, modifiers and game objects. It allows to create scenes from primitives and advanced combinators (for example boolean operations) visually.

This tool is an alternative to some other "CSG" modellers found in the wild. Other, existing similar tools:

  • Womp.com
  • Unbound.io
  • Adobe NEO
  • uRaymarching (older, discontinued?)
  • Raymarching Toolkit (discontinued unity project)
  • MudBun
  • Clayxels

It's still work in progress, but it is in a state where shaders can already be generated and objects can be freely modelled and the tool itself easily extended.

The tool generates (!) HUMAN READABLE (!) .shader files that represent a scene geometry with SDFs (learn more about SDFs here: https://iquilezles.org/articles/distfunctions/).

It could be used to accelerate the cration of artistic shaders, similar to the ones often seen on Shadertoy.com. Instead of writing shaders manually, you can combine various primitives and operators to create models.

This is a subject of my thesis and I am still working on it, but I wanted to share, because it's in a pretty good shape already.

#

If someone knows Clayxels, MudBunny, uRaymarching, Womp.com, Unbound.io and others, then this is a similar kind of tool with it's own benefits

#

oh, and it's a WYSIWYG editor

ruby rune
#

Things possible to achieve very simply with this tool:

ruby rune
#

an interface of the SdfScene script for constructing shaders from scene data

ruby rune
#

Some operator and primitive examples: