CSG , SDFs , exponentials suck 

So I'm building a little 3D CSG editor and wow, does going from 2 dimensions to 3 suck

I currently have a 128^3 size single channel half float 3D tex for the SDF

I am dispatching a computer shader thread for every voxel. Each gets a list of SDF edits (params, operation, position, scale etc. Currently 64 byte per edit) and evaluates them in order for their voxel pos

And at 2 edits I already can't keep up 144 fps :(

Hierarchical eval and sparse SDF here I come !!

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.