Raymarcher: raymarching shader for Blender
Easy to setup
Primitives and operations included
A full raymarcher implemented in Blender nodes
No scripting needed
Works with Eevee and Cycles
This would have been impossible without:
Inigo Quilez website and blog and YT Channel: https://www.iquilezles.org/
ShaderToy: https://www.shadertoy.com/
Blender Community
Base Nodes:
Raymarch Input, ray origin and direction input, any raymarching shader should begin with this, as in example below
Raymarch Process, this is where the magic happens,
greatly simplified raymrching method in exchange for better performance.
repeat this to get more accurate results (as in example below)Raymarch Post, computes useful data, like Normals, Position, Incoming, Reflection, UVs and Mask for your raymarched objects
Scene, here you put your SDF objects, mix them using math nodes, and mix their UVs
SDF Mix, used to mix between UVs and Colors inside Scene
Included SDFs:
5 Point Star, 2D, can be extruded with Extrude SDF
Box
Equilateral Triangle, 2D
Extrude, extrude any SDF
Plane, infinite
Segment/Capsule, has UVs
Sphere, has UVs
Torus, has UVs
Support and Contact:
Twitter: @cgonfire
Email: support@cgonfire.com
Discord: https://discord.gg/pgZFmfv
Author:
Iyad Ahmed (@cgonfire)
Raymarcher node pack and material example (.blend)