Page 1 of 1

colour bounce intensity

Posted: Sat Jan 26, 2019 2:49 pm
by mortas
not sure if you can do this in octane - (can be done in V-ray)

is it possible to control the intensity of colour bounce from and object?

on the example image , can i turn down the amount of red that the yellow ground receives,

example colour bounce
example colour bounce

Re: colour bounce intensity

Posted: Sat Jan 26, 2019 4:52 pm
by frankmci
You might want to look into the cool stuff Milan has been doing with the RayType attribute in OSL shaders. I'm guessing that you can get close to what you want by treating the direct rays and indirect rays differently.

viewtopic.php?f=30&t=67849

Re: colour bounce intensity

Posted: Fri Feb 01, 2019 2:04 am
by mortas
ah ha! thanks for the heads up, its probably over my head but i'll take a look at it anyway..

cheers

Re: colour bounce intensity

Posted: Fri Feb 01, 2019 4:08 am
by milanm
Hi

Yes, we can do that in Octane. :)

That's the most basic and popular use case for ray switching. With this simple OSL shader it's even more flexible than some builtin solutions I've seen. You can use it to mix different materials but also to change individual parameters (like color or texture) of one material based on diffuse bounce rays.

I'm preparing a post for that topic based on your example and I'll try to explain how it works and how to set up the nodes.
DiffuseBounce.jpg
Regards
Milan

Re: colour bounce intensity

Posted: Fri Feb 01, 2019 3:47 pm
by mortas
Holy! thats amazing, just what i'm looking for, looking forward too your lesson

nice one mate!

p.s i'm an old Amiga guy too, sculpt 4d and lightwave