기술 자료

Unity Engine

Unity Engine

opaqueMaterial

Determines whether Unity considers the material opaque.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public bool opaqueMaterial { readonly get; set; }

Remarks

If you use ray tracing shaders, Unity disables any hit shaders for opaque materials so the GPU doesn't execute them.