Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 730 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 730 Bytes

SDFTextureGenerator

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

Updated with Unity 6000.0.21f1.

There are three procedures in this repo:

  • MaskToSdfTextureProcedure (pixels).
  • Mask3DToSdfTexture3DProcedure (voxels).
  • Texture3DToTextureSliceProcedure (voxels to pixels).

Splash

References