Page 1 of 1

area light visible to camera behind glass

Posted: Thu Jun 02, 2022 7:35 pm
by jwfvr
hi - sorry if the answer is obvious - I have looked and cannot find how to hide area lights from the camera when they are behind glass materials - is it possible?

Re: area light visible to camera behind glass

Posted: Fri Jun 03, 2022 12:02 pm
by funk
I don't do this often, but it seems the quickest way is to disable area light > "visible on specular", and set general visibility = 0.0
This will prevent specular from that light appearing on other surfaces though, as you can see in the glossy sphere below.
hide_light_behind_glass_01.jpg
The other option is to set the area light > light pass ID = 2 and general visibility = 0.0. Then put all your glass in a new mesh, and disable that mesh's octane vtab > light pass mask > light pass ID 2
hide_light_behind_glass_02.jpg
I have attached a zip with both examples

Re: area light visible to camera behind glass

Posted: Wed Jun 08, 2022 2:18 pm
by jwfvr
got it - thank you! second option seems best.