Skip to content

Unity sample project using instancing in HDRP path tracing.

Notifications You must be signed in to change notification settings

INedelcu/RayTracingMeshInstancingHDRP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayTracingMeshInstancingHDRP

Unity sample project using Mesh instancing in HDRP Path Tracing.

Description

The project uses RayTracingAccelerationStructure.AddInstances function to add many ray tracing Mesh instances to an acceleration structure. HDRP Path Tracing is used to generate a high-quality image.

The acceleration structure in this project is manually managed. This can be set in Ray Tracing Settings from Volume settings. ManualRTASManager.cs is where the 3 procedural sculptures are generated and added to the acceleration structure. Regular scene geometries can be added to the acceleration structure using RayTracingAccelerationStructure.CullInstances function.

Go to Game view and click on Play to generate the image. Intel Open Image Denoiser is used to remove the final noise.

Prerequisites

Resources

About

Unity sample project using instancing in HDRP path tracing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages