Skip to content

airliang/unity-raytracing

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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