Jump to content

Ray-marching Epsilon


Recommended Posts


I am trying to figure out how to get my edges on my signed distance functions to be a little less glitchy.  Anyone with any experience in this, not really a BJS question but a math one.  Ive been messing with my step dampening and epsilon, but cant seem to find the magic setup.

I was able to make it crisper with :

But then it seems to just be to jagged in the distance.  So I am wondering if anyone has any input on how to smooth this, maybe do a distance calc to the camera for that position and then increment up the Epsilon normal as it get farther from the camera?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...