ドキュメント

Unity Engine

Unity Engine

opaqueMaterial

Determines whether Unity considers the material opaque.
読み終わるまでの所要時間 1 分最終更新 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.