SDF Shape Functions
Signed Distance Functions (SDFs) for 2D and 3D shapes. Essential primitives for shader programming and raymarching.
In this lesson
- What are SDF Functions?
- How to use them
- Implementation Reference
- Links to additional resources
Topics: TSL function · sdf · creative coding · shader programming · Three.js · WebGL · WebGPU · WGSL · TSL
Get the course to access this content
What's included in the course ↓
Pro access to the full course: master 12+ shader techniques, 60+ utilities, 171+ shader breakdowns with full code, and downloadable R3F and vanilla projects.
One single payment. No subscription required. 30-day money-back guarantee. No questions asked.