Camera space ramp

Camera space ramp

ihabali
Explorer Explorer
780 Views
4 Replies
Message 1 of 5

Camera space ramp

ihabali
Explorer
Explorer

Is there a way to setup a ramp using camera position information? this would basically be similar to the way 3D gradients work from the native C4D gradient shader when setup in camera space. This is also effectively depth pass, but I would like the depth information to drive additional parameters in an Arnold shader network.

0 Likes
781 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

But the existed depth Aov gives the desire information all the time.

0 Likes
Message 3 of 5

zenop
Advocate
Advocate

One way would be to parent constrain a place3dTexture node to a camera, then scale that up to fit the bounding box of your scene and use it in planar projection mode.

1098-camera-projection.png

1099-camera-projection-02.png

0 Likes
Message 4 of 5

ihabali
Explorer
Explorer

These nodes are not available in C4DtoA but I like the idea of using camera projection.

0 Likes
Message 5 of 5

caca_caca
Not applicable

I'm interested in that topic as well,

I'd like to make a texture appear based on the distance to camera.

Is it possible for someone to explain in details the steps ?

Thanks,

Chromi

0 Likes