Skip to content

texone/SDFr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDFr

a signed distance field baker for Unity

gif

about

  • Generates signed distance fields as Texture3D in RHalf format for use with ray marching or the Visual Effect Graph.
  • Written distances are between -1 and +1, normalized to the bounding box magnitude.
  • Takes advantage of Jobs and Burst + Unity Mathematics, comment out the #define in SDFVolume.cs if Burst & Mathematics should not be used.
  • Tested in Unity 2018.3

png

License

MIT

About

a signed distance field baker for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 81.1%
  • ShaderLab 10.7%
  • HLSL 4.2%
  • GLSL 4.0%