Skip to content

aofg/voxel-raymarching

Repository files navigation

Voxel Raymarching

A package providing pack of shaders and managed scripts to visualize volumetric data (3D array of voxels) as solid geometry. Rendering tidly connected with unity PBR pipeline for seamless integration into polygonal scenes

Voxel raymarching preview

Requirements

  1. Unity 2018.1 or newer
  2. Package Manager

Usage

  1. Open your Packages/manifest.json file in root of your Unity project.
  2. Add dependency:
cc.aofg.voxel-raymarching": "git://github.com/aofg/voxel-raymarching.git
  1. Switch to editor and wait for package resolve
  2. Open sample scene at Packages/Voxel Raymarcing/SamplesScene.scene (not ready yet)

Roadmap

  • Draft implementation with hardcoded values
  • Integration with Standard shader
    • Proper lighting
    • Shadows
  • PBR params decoder from color data (encoding convention is required!)
  • Parametrization
    • Volume Size (bounds of providen volume)
    • LOD (skip N pixel from providen texture)
    • Adjust bounding (render) box to perfect fit volume size (overdraw minimization)
  • Implementation of fancy effects
    • Neighbourhood Ambient Occlusion ("vertex ao")
    • Raycasted Ambient Occlusion
    • Light flood (GI)
    • Reflections
  • StructuredBuffer Rendering Pipeline
    • Draft implementation
    • Draft baker
    • Memory pointer map implementation
  • Baker improvements
    • Solid G

About

Volemetric data raymarching renderer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published