Results 1 to 7 of 7
  1. #1
    Member leandrooliveira's Avatar
    Join Date
    Dec 2010
    Location
    Sao Paulo / Brazil
    Posts
    180

    Selective glossy

    Hi everybody,

    Imagine the following situation: a chrome sphere reflecting two objects, A and B. Now, I donīt want Object B being reflected on sphere. How can I do this in Cycles?

    Thanks in advance.
    Leandro Oliveira
    www.leandrooliveira.com



  2. #2
    Member
    Join Date
    Apr 2012
    Posts
    1,904
    Yep - give the object you don't want to show a reflection - a material like this blue sphere:

    Click image for larger version. 

Name:	screen.png 
Views:	4 
Size:	297.8 KB 
ID:	521437

    The only problem is - your object won't have a shadow either. You can't give it a shadow either since the shadow would show up in the reflection even though the object won't.
    Last edited by moony; 17-Apr-18 at 12:18.



  3. #3
    Member leandrooliveira's Avatar
    Join Date
    Dec 2010
    Location
    Sao Paulo / Brazil
    Posts
    180
    The shadow issue was the problem, Moony! And another question: is it possible to avoid blue object reflection on the chrome sphere, but keep its reflection on other objects, just setting up the shaders nodes?
    Leandro Oliveira
    www.leandrooliveira.com



  4. #4
    Member
    Join Date
    Apr 2012
    Posts
    1,904
    Originally Posted by leandrooliveira View Post
    And another question: is it possible to avoid blue object reflection on the chrome sphere, but keep its reflection on other objects, just setting up the shaders nodes?
    Not using that node setup - it makes the blue sphere invisible to all reflections.

    I'm not sure if there is a way to do it using nodes.

    The easiest method would probably be to composite the scene. Render the scene with and without the blue sphere - then just overlay the two images and mask off the areas you don't want it to appear in GIMP or Photoshop.



  5. #5
    Member leandrooliveira's Avatar
    Join Date
    Dec 2010
    Location
    Sao Paulo / Brazil
    Posts
    180
    Thsnks, Moony. I knew that the best way would be via composite. Thanks, again.
    Last edited by leandrooliveira; 17-Apr-18 at 14:50.
    Leandro Oliveira
    www.leandrooliveira.com



  6. #6
    Member
    Join Date
    May 2013
    Location
    Brazil
    Posts
    34
    You may solve the shadow problem by setting up the light path to glossy ray, it won't reflect in the chrome sphere but it will cast shadows....



  7. #7
    Member
    Join Date
    Apr 2012
    Posts
    1,904
    Originally Posted by Ghaell View Post
    You may solve the shadow problem by setting up the light path to glossy ray, it won't reflect in the chrome sphere but it will cast shadows....
    The problem with that solution is that the objects shadow will reflect - even though the object itself doesn't.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •