-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normals are "a bit funky" #4
Comments
Yeah! One of the things I was looking into was adding a smoothing variable by interpolating between LODs. It started introducing artifacts as other samples started to bleed in. Another approach to this would be making the extension configurable so that you could have 256x256x256 textures instead of 128 which might help with aliasing. |
interesting! yeah tbh i'm not sure how much the SDF resolution would make a difference, bc setting mudbun to really low poly (even lower than in my vid) still shows artifacts 🤔 but maybe I can put some normal maps on it and nobody will notice haha |
okay good news, looks like upping the Smooth Normal Blur setting on a mud renderer to just 0.01 is enough to clean up the artifacts pretty well without heavily changing the appearance of other primitives. you can still see it a bit on the sphere (especially if you rotate it) but I think that's enough to make it usable! |
Awesome!! That's a great fix. |
I baked a very high poly sphere (with a little edge room for blending) to compare with a normal mudsphere. the normals look a little wacky especially when you transform the brush around.
obviously the SDF is limited by its 3DTex resolution, but it's pretty obvious even with mudbun voxels set to MUCH lower resolution than the 3DTex itself 🤔 maybe there is a different way values could be sampled? but I have no idea what i'm talking about lol
I recorded video of it at some different voxel resolutions. but the compression makes it hard to see 😅 it's very obvious in-person though
https://streamable.com/ignz84
The text was updated successfully, but these errors were encountered: