- Home /
Can't find unlit shader in material shader selection!,
When I try to select the shader for the material in the editor (under unlit shaders), my shader (which is in the root of the Assets folder) doesn't show up.
What's odd is that I previously created another shader in the material directory and that one did show up. However, I'd like to have one shader on all the objects in my project without copy-pasting it into each material directory.,
Answer by tanoshimi · Nov 13, 2016 at 01:29 PM
Shaders are not listed according to the location of the .shader file in your Assets folder - they are listed according to the hierarchy specified in the declaration on the top line of the shader, e.g. : Shader "Custom/Terrain/FadingBillboardGrass"
, so open up your shader file and it'll show you where it's located.