Version: 2020.1
public static void SetCustomShader (Rendering.BuiltinShaderType type, Shader shader);

파라미터

type Built-in shader type to set custom shader to.
shader The shader to use.

설명

Set custom shader to use instead of a built-in shader.

This is only used when built-in shader is set to BuiltinShaderMode.UseCustom mode; see SetShaderMode.

See Also: GetCustomShader, SetShaderMode, Graphics Settings.