文档

Unity Engine

Unity Engine

ClosestHitOnly

Unity considers this geometry opaque. This geometry responds to ray intersections as if it does not have an any hit shader.
阅读时间1 分钟最后更新于 1 个月前

Definition

ClosestHitOnly = 2

Remarks

It is recommended that apps use this flag liberally, as it can enable important ray-processing optimizations.