Question by
khelegond · Oct 14, 2021 at 08:42 PM ·
shaderprogrammatically
Applying shader for a disappearing object
Ok, I'm sorry if this question is stupid :(
I have a bunch of prefab platforms, that I instantiate after some seconds. Only one is supposed to be showing at a time, but I want to remove the other after applying a shader on it (a disappearing shader).
I'm having a hard time thinking of a good (and not heavy) way to apply it to my platform. I understand I should add the shader to a material, and then add that material to the platform. Is that it? How costly is this?
Thanks for the help!
Comment