Skip to content

Path trace engine to raytrace meshes from Unity GameObjects. Implemented using HLSL compute shaders in Unity3D.

Notifications You must be signed in to change notification settings

akoreman/Compute-Shader-Mesh-Path-Tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compute Shader Mesh Path Tracing

Path tracing engine to raytrace meshes from Unity GameObjects. Implemented using HLSL compute shaders in Unity3D.

Currently implemented:

  • Pathtracing for meshes from Unity GameObjects.
  • Phong specular reflections.
  • Variable surface roughness for specular reflections.
  • Lambert diffuse relections.
  • Importance sampling to speed-up convergence.
  • Support for normal interpolation using barycentric coordinates.
  • Anti-Aliasing by offset resampling.
  • Basic ray-collision-detection optimization using bounding sphere volumes.

Possible extensions:

Screenshots

Normal interpolation visualised by interpolating vertex colors.

About

Path trace engine to raytrace meshes from Unity GameObjects. Implemented using HLSL compute shaders in Unity3D.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published