Version: 2022.1
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingSubMeshFlags.UniqueAnyHitCalls

切换到手册

描述

This flag enables the guarantee that for a given ray-triangle pair, an any hit shader is invoked only once, potentially with some performance impact.

The flag can enable robust transparent shadows implementation for example.