Boolean Thing

               
by
Published 2 hours ago
Open In Editor


A shader that creates a 3D object from up to four procedural shapes (spheres, boxes, cylinders, capsules, and toruses) combined through union, intersection, or subtraction. The MeshGenerator converts a collection of SDF primitives into a polygonal mesh using marching tetrahedra. It samples the scene on a configurable 3D grid, extracts the surface, and generates vertices, triangles, and normals, with resolution controlling the balance between mesh quality and performance.

Licence: Public Domain Dedication

Commercial use ok, freely remix, reuse this work without restriction, please credit the author.
 



More patches made by cables users





what is cables?


Cables is a tool for creating beautiful interactive content. With an easy to navigate interface and real time visuals, it allows for rapid prototyping and fast adjustments.

cables is free to use!

Register