文档

Unity Engine

Download Unity

Unity Engine

alphaTestedMaterials

The corresponding RayTracingSubMeshFlags value for alpha tested Materials.
阅读时间1 分钟最后更新于 17 天前

Definition

public RayTracingSubMeshFlags alphaTestedMaterials

Remarks

Using RayTracingSubMeshFlags.Enabled alone will allow the GPU to execute any hit shaders where a ray-geometry hit can be reported based on an alpha test.