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: 

How can I connect a thin film shader to an ramp float with the colors?

3 REPLIES 3
Reply
Message 1 of 4
ahmedkZZL7U
413 Views, 3 Replies

How can I connect a thin film shader to an ramp float with the colors?

I only get black and white values, I'm trying to get rgb outputs from the float.

Tags (3)
Labels (3)
3 REPLIES 3
Message 2 of 4
cdordelly09
in reply to: ahmedkZZL7U

@Ahmed Khaled What do you want to do with the thin film colors? The ramp float it's only for remap float information (0-1 values) not rgb values.


Maybe other node works for you. And also, remember that the thin film shader will be removed at some point. You can recreate it with a ramp_rgb shader.

Message 3 of 4
zenop
in reply to: ahmedkZZL7U

If you want to use a custom ramp you'll have to use something other than the thin film shader. The thin film shader is designed to produce colour values based on the thickness of the film and accepts values in nanometres.

You can kind of fake it by combining a noise and the facingratio, which you can then pipe into your custom ramp coordinates.

Message 4 of 4
jmcdermid1
in reply to: ahmedkZZL7U

Was doing a similar thing the other day.. use facingratio to drive transmission colour and cutout opacity, each via their own rgb_float.. (if this is what you mean?)

106-fr-driving-transmission.jpg

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

Post to forums  

Autodesk Design & Make Report