I used "Outlined/Silhouetted Diffuse" shader to mark objects as selected (link to shader). However, when I baked lights, the shader did not work.
Next I tried "Outlined/Silhouetted Bumped Diffuse" shader and outlines appeared with baked shaders.
Any idea why bumped version of shader works, but normal does not?
Answer by AdrienVR
Jul 29, 2016 at 06:02 PM
It's working because the Silhouetted Bumped Diffuse uses a surface shader in the second Pass, which handles any level of complexity of lighting (while the Silhouetted Diffuse use a vertex shader in the second Pass, not handling baked lights)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Object outline component
Making a silhouette outline shader
Model Outline/Silhouette Shader
Outlined Shader Shadows
Silhouette Toon Shader