How do you add unique instances of a shader to multiple nodes in a scene? Godot 4
I have multiple “interactable” objects in my game all extend the InteractableBody class that sets some stuff up so the player can interact with the object. I am trying to add an outline shader to the sprite so i can outline objects that are able to be interacted with. This is my code right now that does this however this currently just applies the outline to the first object with the shader, no matter what object. I had a previous version working where all objects had the outline and were all being changed when only one object was being updated.