Skip to content

theolundqvist/parallax-voxel-ray-marcher

Repository files navigation

Parallax Voxel Ray Marcher

Project in High Performance Computer Graphics (3rd place) at LTH by Theodor Lundqvist, Jiuming Zeng and Jintao Yu.

Video: https://youtu.be/21KFuvCqHIU (10000+ views)

Paper: Parallax Voxel Ray Marcher.pdf

                         







Some personal notes:

Grid Traversal

Mesh to Voxel Conversion

Voxel Ray Marching

Atomontage Engine

Fragment Shader Techniques

  • Depth Handling in Voxel Rendering:
    • Early depth test must be disabled when depth is modified in the fragment shader.
    • Use the conservative_depth extension:
      • OpenGL: Conservative Depth
      • Shader declaration example:
        layout (depth_less) out float gl_FragDepth;
      • This declares that fragments will always move closer than their original depth (e.g. when rendering backfaces).

Cool Shader Examples

About

Project in High Performance Computer Graphics (3rd place) at LTH by Theodor Lundqvist, Jiuming Zeng and Jintao Yu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published