Author Topic: Hide light reflecting in certain objects?  (Read 235 times)

2019-09-11, 16:35:31

TeoRossi93

  • Active Users
  • **
  • Posts: 24
    • View Profile
Hello guys!

Is it possible to hide a light reflecting just in some object in the scene?
Like in the attached image, is it possible to show light reflection just on sphere and not on the plane?

2019-09-11, 16:37:09
Reply #1

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 2562
    • View Profile
Due to Corona being based on reality, it is not possible in one pass. Best first thought is render twice, once with the light visible in reflections, one with it invisible (that is, all reflections), and then combine in post using an object mask to isolate the sphere.

2019-09-11, 17:49:51
Reply #2

TeoRossi93

  • Active Users
  • **
  • Posts: 24
    • View Profile
Due to Corona being based on reality, it is not possible in one pass. Best first thought is render twice, once with the light visible in reflections, one with it invisible (that is, all reflections), and then combine in post using an object mask to isolate the sphere.
What a shame, I know I could do it in comp but is pretty difficult with complex objects and animations :(

2019-09-16, 00:10:18
Reply #3

fedestampini

  • Active Users
  • **
  • Posts: 16
    • View Profile
Ciao Matteo, yes you can.
take a looka at this example':
you have do duplicate the light source,
in the lightsphere exclude the plane and leave the reflection on.
in the lightPlane exclude the sphere and turn of the reflection and oclude other light.




« Last Edit: 2019-09-16, 00:18:11 by fedestampini »

2019-09-16, 00:13:12
Reply #4

fedestampini

  • Active Users
  • **
  • Posts: 16
    • View Profile
you might also have to uncheck the unoclude other light tab.
« Last Edit: 2019-09-16, 00:18:23 by fedestampini »