- Home /
Question by
Execellent · Nov 17, 2020 at 10:44 PM ·
shadergraphicsscripting beginnerdynamically
Dynamically have Game Objects "fade out" the higher their y-level
I'm still a bit new to unity and shaders so I apologize if this question is a bit obvious. I'm trying to set up some sort of shader that dynamically fades objects out once they're higher than an arbitrary height. The normal transparency shaders make a bit of sense but it only applies them over an object as a whole. Is there a shader that can be applied to any object that supports a transparency gradient (if that's even the right term here)?
Absolutely any resources to look at would be highly appreciated. I've attached an MS Paint picture that helps describe what i'm trying to achieve.
Comment