codesandbox.io/p/sandbox/th...
#WebGL's TransformFeedback used to run a compute shader that voxelizes an SDF shape. The modified buffer is part of an instancedMesh that renders a cube for active voxels. BONUS, Raymarched volume render of the SDF too.
#threejs #glsl
codesandbox.io/p/sandbox/th...
#WebGL's TransformFeedback used to run a compute shader that voxelizes an SDF shape. The modified buffer is part of an instancedMesh that renders a cube for active voxels. BONUS, Raymarched volume render of the SDF too.
#threejs #glsl
jacco.ompf2.com/2024/01/18/r...
Probably not new, so if you have seen it before, let me know, so I can reference.
jacco.ompf2.com/2024/01/18/r...
Probably not new, so if you have seen it before, let me know, so I can reference.