- Home /
Materials, shaders and outlining the object
How can I outline an ingame object? (for a purpose of showing the player selection). Lets say I have 5 goblins and I want to outline only the one that intersects with cursor.
My knowledge of materials and shader is very weak so maybe I dont understand correctly, but...
...most answers I have seen are using something like outline shader.
But that would mean I would have to do two versions of material for each selectable object? Since just changing the shader would change every other object with the same material?
Isnt there some better way?
Your answer
![](https://koobas.hobune.stream/wayback/20220612091342im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Fresnel shader and mixed textures 0 Answers
Dynamic batching breaks with the material Mobile/Alpha Blended. 0 Answers
Unity 5 Outline Shader overlap 0 Answers
Adding emission parameter to Deferred Decal shader 2 Answers
When setting an array of (ShaderGraph) materials, only the first on is an instance? 0 Answers