Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ramp in object space?

2 REPLIES 2
Reply
Message 1 of 3
lurklurkson2000
385 Views, 2 Replies

ramp in object space?

Hello Community,

I am currently working on shading some furniture pieces. I am looking for a way to set off different boards of the texture procedurally, so that I dont have to do maps for each indivual piece of geo.

So far I had some success with a ramp shader giving stripes, those drive through a range node the offset of a UV Transform.

This works for the surfaces, but the ramp doesnt stretch around the edges, is there any way to get a ramp shader to work without UVs, in object space? Somewhat like the gradients in the built in C4D renderer?

If yes, how?

Labels (3)
2 REPLIES 2
Message 2 of 3

Triplanar is your friend.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 3

There's no built-in mode in the ramp shader to work in object space, yet you can use the state_vector shader to read the object space coordinates (Po) driving the ramp input (probably with some additional math). Or as Lee suggested, maybe the triplanar shader is what you need instead.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report