Version: 2022.3
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingConfig.transparentMaterialConfig

매뉴얼로 전환
public Experimental.Rendering.RayTracingInstanceMaterialConfig transparentMaterialConfig ;

설명

A configuration for defining when a Material is considered being transparent.

RayTracingAccelerationStructure.CullInstances can specify a RayTracingSubMeshFlags value associated with transparent Materials to determine the behavior of Meshes or individual sub-meshes that use these Materials when building an acceleration structure, or when performing ray tracing.

For example, Meshes that use transparent Materials can be ignored when building the acceleration structure by using RayTracingSubMeshFlags.Disabled in RayTracingInstanceCullingConfig.subMeshFlagsConfig structure.

See Also: RayTracingInstanceCullingConfig.subMeshFlagsConfig.