# SDFr **Repository Path**: dang050/SDFr ## Basic Information - **Project Name**: SDFr - **Description**: a signed distance field baker for Unity - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-26 - **Last Updated**: 2021-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SDFr a signed distance field baker for Unity ![gif](https://www.dropbox.com/s/ka6mlx2tef1lboa/oNrM0ZMpEr.gif?raw=1) 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 Updates By NoiseCrime ----- - Updated To include varity of visualisations of the raymarching ( distance, steps, heatmap ) to aid in learning. - Some code change to improve performance and address some flaws in RayMarchExample Shader. - Mainly being used as a testbed for learning more about rayMarching through SDF. - Next step is a code refctor of rayMarch shaders to unify, simplify and improve overal performance. ![png](https://www.dropbox.com/s/zd07uve5o4ahgls/Unity_S1LNYsiRd5.png?raw=1) License ------- [MIT](LICENSE.md)