With custom shader assets written using ShaderLab
, we can implement user-defined materials by binding the shader to newly created materials.
ShaderLab
Reflecting Material PropertiesIf we write the material property definition
module in ShaderLab
, the properties defined in the module will be exposed in the Inspector panel of the material asset bound to the Shader.