leroycep/ascii-raycaster

Use Signed Distance Functions

Opened this issue · 0 comments

Signed Distance Function allow you to create a renderable by composing functions together. These functions easy to parallelize on the GPU, because they are just a set of calculations to make, not a bunch of if-then rules.

  • Implement a signed distance function shader
  • Create algorithm that converts a minecraft-like world into SDFs
  • Generate GLSL programs from the SDFs