Author Topic: Make an object invisible in rendering but still acts as a solid  (Read 498 times)

2024-04-17, 12:43:26

AlineMans

  • Users
  • *
  • Posts: 2
    • View Profile
Hey guys, I'm looking for a way to make an object render invisible (the plane in my case), but, to still block out whatever it would do if it was a normal visible object (Without casting shadows).
I've tried going through the object properties and unchecking the "visible to camera" option, but that didn't give me what I'm trying to achieve.
Any help would be appreciated!

2024-04-17, 15:37:08
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12804
  • Marcin
    • View Profile
Hi, there was a similar case recently, maybe the solution I suggested would work for you? https://forum.corona-renderer.com/index.php?topic=42411.msg223864#msg223864

Other than that, I do not really understand this part: "block out whatever it would do if it was a normal visible object (Without casting shadows)"
If it would not cast shadows, that would mean that it does not block light. So if it should not block light, then what should it block? :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-04-17, 17:10:44
Reply #2

AlineMans

  • Users
  • *
  • Posts: 2
    • View Profile
Hey Maru and thanks for your suggestion :) My aim is to actually block the light casted by the sky on the tree leaves (so they appear less translucent), without the plane casting any shadows to the foreground. I hope I managed to better explain myself here, it's tricky this one :')
I'll check your response on the other post and try it out, much appreciated!

2024-04-17, 17:16:42
Reply #3

dj_buckley

  • Active Users
  • **
  • Posts: 891
    • View Profile
Can't you just make the leaf shader less translucent?

2024-04-18, 11:32:05
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12804
  • Marcin
    • View Profile
Hey Maru and thanks for your suggestion :) My aim is to actually block the light casted by the sky on the tree leaves (so they appear less translucent), without the plane casting any shadows to the foreground. I hope I managed to better explain myself here, it's tricky this one :')
I'll check your response on the other post and try it out, much appreciated!

"Blocking the light cast by the sky on the tree leaves" sounds exactly the same as "casting shadow" to me. Sorry, but I don't think there is any other solution.
Adjusting the leaf material, as dj_buckley suggested, sounds like an easier solution.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2024-04-22, 14:09:32
Reply #5

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 537
    • View Profile
As others said, this is not possible. If you are blocking the light, then you are casting the shadow. There maybe many other ways to achieve what you are trying to do.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us