Version: 2022.3
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingSubMeshFlagsConfig.alphaTestedMaterials

マニュアルに切り替える
public Experimental.Rendering.RayTracingSubMeshFlags alphaTestedMaterials ;

説明

The corresponding RayTracingSubMeshFlags value for alpha tested Materials.

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.

See Also: RayTracingAccelerationStructure.CullInstances.