Author Topic: render elements: Glass mask  (Read 2742 times)

2016-06-03, 19:36:47

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 768
    • View Profile
    • blacksquid
Hi there,

it could be that the following is possible, but I did not find a solution up till now.

We have moddeled some high detailed windows with glass planes included (one mesh).
We do not want to detach the glass planes from the original mesh.
If the glass material has the "visible in masks" option enabled, The glass will show up in a mask (render element CMasking_Mask). Which is obvious.
But whenever a tree is behind the glass, the mask (again render element CMasking_Mask) of the tree will only show the part which is not behind the glass.

Whenever the option "visible in masks" is switched off, the whole tree will be visible in the mask. Which is obvious. But I cannot create a mask for the glass.

So I would like to have a mask of the glass and a mask of the tree behind the glass without rendering twice.

Anyone an idea?


2016-06-07, 15:11:11
Reply #1

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 768
    • View Profile
    • blacksquid

2016-06-07, 16:02:37
Reply #2

Frood

  • Active Users
  • **
  • Posts: 2001
    • View Profile
    • Rakete GmbH
Afaik this just doen´t work right now. You can vote for it here:

https://forum.corona-renderer.com/index.php/topic,96.msg78766.html#new

"Include reflections/refractions in render passes"

Good Luck!



Never underestimate the power of a well placed level one spell.

2016-06-07, 16:42:56
Reply #3

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 768
    • View Profile
    • blacksquid
I thought so. My Vote was there all ready.
Thanks