cyEnvironment IBL Light Path Split

Jonas Schmidt
Posts: 11
Joined: Fri Jan 12, 2018 12:50 am
Location: Hamburg, Germany

cyEnvironment IBL Light Path Split

Post by Jonas Schmidt » Sun Jan 28, 2018 8:13 pm

Hey folks,

Ghirardo asked in this following Post
Is there any way to have an environment image (not seen by camera)
with a different Background (seen by camera)
The solution is very simple so Mario asked me to share my solution here in the Shared uploads section as well :D

Maybe you guys have other ideas with the Light Path node, too :-)
Guess there are many node secrets to be uncovered :lol: Feel free to share.
First of all you need two environment textures.
Then use the versatile light path node as a factor in the mix shader to split the texture information.

To make it work use the Light Path output "Is Camera Ray".

Now you have one environment which is just seen in the reflection channel, the other one is seen as the background.
Nice effect ;-)

Cy4D_HDRI_Split_JS.jpg
Cy4D_HDRI_Split_JS.jpg (366.43 KiB) Viewed 483 times

As an Environment Shader I used the 2x IBL Controller made by Martin Wall.
You can find the node in the Shared Upload section:
viewtopic.php?f=6&t=268

Please also have a look at my node setup & the c4d file.
You just need to replace the missing HDRI texture files in the environment nodes.
Cy4D_HDRI_Split_JS-Node_Setup.jpg
Cy4D_HDRI_Split_JS-Node_Setup.jpg (283.19 KiB) Viewed 483 times
And here the Cinema 4D scene incl. cyEnvironment Material:
Cy4D_HDRI_Split_JS.c4d
(310.52 KiB) Downloaded 22 times
_
Cheers,
Jonas
Last edited by Jonas Schmidt on Sun Jan 28, 2018 10:37 pm, edited 1 time in total.

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: cyEnvironment IBL Light Path Split

Post by Martin » Sun Jan 28, 2018 8:46 pm

Forgot this one. Thanks, Jonas I'll add this to the quick tips thread and expand the list later.
And better add these little tips & tricks there next time, would be easier to reach for everyone, just make posts more compact :)

Jonas Schmidt
Posts: 11
Joined: Fri Jan 12, 2018 12:50 am
Location: Hamburg, Germany

Re: cyEnvironment IBL Light Path Split

Post by Jonas Schmidt » Sun Jan 28, 2018 10:40 pm

Thanks Martin! I added it under the Quick Tips post.
And will ask an admin to delete this post to tidy things up - totally makes sense :D

Cheers,
Jonas

-- This post can be deleted --

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: cyEnvironment IBL Light Path Split

Post by Martin » Sun Jan 28, 2018 11:28 pm

There's no need to delete this thread :)
And there is an example how to fake HDRI reflections per object.
Attachments
Fake Reflections.jpg
Fake Reflections.jpg (223.16 KiB) Viewed 457 times

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests