ClosestHitOnly
Unity considers this geometry opaque. This geometry responds to ray intersections as if it does not have an any hit shader.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
ClosestHitOnly = 2
Remarks
It is recommended that apps use this flag liberally, as it can enable important ray-processing optimizations.