drzhn / UnitySimpleRaytracing

Unity + Compute shaders + GPU Radix sort + LBVH + Wave intrinsics + Raytracing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnitySimpleRaytracing

Software raytracing implementation on the GPU (BVH building and traversal). Used LBVH+radix sort on the spatial subdivision part.

Based on these articles

WARNING: for GPU sorting part I used new HLSL wave intrinsics for scan stage. So it's obligation to run this project on Nvidia GPUs because of lane size equal to 32.

About

Unity + Compute shaders + GPU Radix sort + LBVH + Wave intrinsics + Raytracing


Languages

Language:C# 94.2%Language:ShaderLab 3.6%Language:HLSL 2.3%