jvidziunas / SDFr

a signed distance field baker for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C# 81.7%Language:ShaderLab 10.4%Language:HLSL 4.1%Language:GLSL 3.8%