Skip to content

airliang/unity-raytracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-raytracing

GPU Raytracing renderer which runs in hlsl compute shader in unity. This project is implemented by pure hlsl vertex shader, fragment shader and compute shader in Unity, not using any raytracing shaders.

Features

  • Megakernel path tracing
  • Wavefront path tracing
  • Multiple importance sampling
  • Physical Base Materials
  • Split BVH acceleration structure by radeonray
  • Woop ray/triangle intersection
  • Raycone mipmapping
  • Filter importance sampling
  • HDRI Environment Maps
  • Depth of field

Scene Assets

We can convert the tungsten json format to our own format which is also using json. Use the python tool(unity-raytracing/Assets/RayTracing/Editor/convert_tungsten.py) for converting the tungsten scene. You can download the tungsten scenes at https://benedikt-bitterli.me/resources/ .

ScreenShops

cornell box

staircase2

bathroom2

20000 spp, Filmic tonemapping

kitchen

15000 spp, ACE tonemapping

depth of field and glass material

References