ドキュメント

Unity Engine

Unity Engine

UseCustom

Use custom shader instead of built-in one.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

UseCustom = 2

Remarks

This is useful for implementing custom functionality. For example, by default deferred shading does shading calculations that match the Standard shader lighting model. But if you'd want to use a different BRDF, or use a custom deferred G-buffer layout, then you'd need to override BuiltinShaderType.DeferredShading with your own custom shader.