기술 자료

Unity Engine

Unity Engine

deniedShaderPasses

An array of Shader Pass names used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public string[] deniedShaderPasses

Remarks

If a Shader contains a Shader Pass from the list, the acceleration structure ignores the Renderer or the sub-mesh that uses the Shader.