[Unity]Shader & Material Notes
Keywords: Unity, Shader & Material Notes
Shader Editor
How to change the default shader of asset
Case:
Shader in Inspector
are grayed out, can’t edit the material.
Caused by:
The material of the default assets cannot directly be edited, sometimes imported materials too.
Solution:
Create a new material in your Project
window (right click -> create
-> Material
) and drag it on the object (in the Viewport
, Hierachy
or Inspector
). then you should be able to edit it.
Reference:
Materials are grayed out/ can’t edit them
https://answers.unity.com/questions/1462367/materials-are-grayed-out-cant-edit-them.html
The snake which cannot cast its skin has to die. As well the minds which are prevented from changing their opinions; they cease to be mind. ― Friedrich Nietzsche