raytk
raytk copied to clipboard
Raymarching shader toolkit for TouchDesigner
Combine a planeSdf and a boxFrameSdf and connect that to a render with a direcitonalLight. The top part of the boxFrameSdf won't show up in the shadow for some reason.
To reproduce, connect any SDF directly to a pointMapRender.
Example: diffuseContrib snippet, the variableReference that gets the SDF from the modularMat to access the primary UVs is reset to "(value)". 