- Home /
Unlit Shader and Image Effects
In my project I'm using mainly Unlit Shaders (no lights in scene all textures baked earlier), so how to force image effects (for example edge detection or ssao) to detect this objects like they have Standard Shader?
I don't fully understand what problem you are having, nor what you wish to achieve. Please elaborate.
When I add for eg. Edge Detection Component to Camera it works only for objects that have Standard Shader (in this case adds stroke to this objects). Other objects that have Unlit or $$anonymous$$obile Unlit shaders act like there is no ED component. Also Standard Shaders with this effect are visible through Unlit objects. .
You don't need Standard Shader, for Edge Detection os SSAO. They work on all shaders, mobile \ not mobile, etc.
So where is my problem? In rendering settings? Also look at reply to Namey5
Answer by mikelortega · May 30, 2016 at 01:25 PM
Instead of Unlit Shaders you can use the Standard Shader, set the Albedo black and use the Emission component. This way you will be using the Standard Shader ignoring lighting and shadows.