Skip to content

Signed Distance Field (SDF) texture generator for Unity.

License

Notifications You must be signed in to change notification settings

cecarlsen/SDFTextureGenerator

Repository files navigation

SDFTextureGenerator

Signed Distance Field (SDF) texture generator for Unity using the Jump Flooding Algorithm (JFA) implemented in a ComputeShader.

Updated with Unity 2023.2.

There are three procedures in this repo:

  • ScalarTextureToSdfTextureProcedure (pixels).
  • ScalarTexture3DToSdfTexture3DProcedure (voxels).
  • Texture3DToTextureSliceProcedure (voxels to pixels)

Splash

References

About

Signed Distance Field (SDF) texture generator for Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published