Open atallahhezbor opened 3 years ago
I believe we are not using URP so making a shader for this is quite difficult for someone who has no experience. Therefore I suggest a system like this.
You create a Glow Prefab which is a Mask and a Sprite Renderer Component. It spawns when the interaction is possible one layer behind the interactable itself. When the glow gets spawned in its Renderer Sprite is changed to the Sprite of the Interactable and the scale slightly increased and the color of the Renderer changed for a outline effect. And when you leave the interaction range the glow effect gets destroyed.
This is a pretty easy cheat around making a glow effect through shaders or seperatly making a glow for every sprite.
Items that can be interacted with should glow
Epic:
40
Stories:
Acceptance criteria