cyEnvironment IBL Light Path Split

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: cyEnvironment IBL Light Path Split

Re: cyEnvironment IBL Light Path Split

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 633 times

Re: cyEnvironment IBL Light Path Split

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 --

Re: cyEnvironment IBL Light Path Split

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 :)

cyEnvironment IBL Light Path Split

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 659 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 659 times
And here the Cinema 4D scene incl. cyEnvironment Material:
Cy4D_HDRI_Split_JS.c4d
(310.52 KiB) Downloaded 27 times
_
Cheers,
Jonas

Top