기술 자료

Unity Engine

Unity Engine

transparentMaterialConfig

A configuration for defining when a Material is considered being transparent.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public RayTracingInstanceMaterialConfig transparentMaterialConfig

Remarks

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.