I have a particular effect I’m trying to make, and in order to get it, I need to make a gradient in a post process material. Specifically: I want to create a gradient that returns 1 at a given world direction, fading to 0 at the opposite direction. This seems really simple but I cant figure out which nodes are suppose to do it.
I’m trying to use the Dot product, but anything I think to plug into it applies to the entire screen equally.
Using the CameraDirectionVector node I have only managed to make an effect where the screen brightens when looking in the direction i want, and darkens to black as i look away. Which is really close, but I need it to be a gradient on-screen, if you understand what I mean.
Anyone knowledgable in post process materials who could help me with this? I hope I explained my question decently.