Using a Shader and Lighting Renders a Sprite's Outline When it is Transparent
Hey,
So I've got a 2D sprite, and 2D sprite material. When I attach the material to the sprite, it renders the sprite's outline as well, which is generated by Unity. Why is this happening? The lighting works perfectly well other than this.
EDIT: So I set the material to transparent at the recommendation of someone in a Discord chat. Still, there's a weird black outline.
Answer by Ovicior · Jan 15, 2018 at 12:09 AM
Use the rendering mode 'fade' on the material causing the problem.
Your answer
Follow this Question
Related Questions
2D Mobile: How to mask a gameObject with another gameObject (with soft edges) 0 Answers
Meshes appears very dark than expectation 0 Answers
Unity 2D sprite Renderer + Material Sprite/Diffuse shader not working 1 Answer
Proper working atmosphere shader in Unity 2018. 1 Answer
How would I exclued parts of a texture from the lighting system? 0 Answers