0

I'm trying to make a shader which has a procedural texture mapped along a vector between the camera view and the objects. Imagine the pink arrow as the vector in the picture below.

The pink line is the vector I'm refering to

I was able to make a shader with a similar effect (pictured below), however, the vector is parallel to the camera view rather than pointing toward it. Because of this, the shader doesn't create the desired result in perspective mode. Almost what I'm looking for (the gradient texture is just a placeholder)

My understanding of shaders is poor but I'll clarify my question as best I can if necessary.

0 Answers0