Skip to content
/ ssdf Public

A method for generating distance fields in screen space

Notifications You must be signed in to change notification settings

Jaliborc/ssdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screen Space Distance Fields

A demo implementation of a method for generating distance fields in screen space in real-time. Note that the method has many cases were it creates artifacts or does not generate accurate results at a reasonable computational cost.

Demo running on github.io. Detailed description and analysis at chapter 4 of this thesis. An excerpt follows:

I choose to explore computing distance fields without resorting to additional geometry passes. Instead, I resort to searching the screen-space neighborhood. This strategy shares a premise with many screen space ambient occlusion methods, which is that the properties on a surface point can be approximated by the visible surrounding geometry.