KeyShot Forum

Technical discussions => Materials => Topic started by: Hafol1 on October 25, 2016, 05:00:14 AM

Title: Material only visible in reflections
Post by: Hafol1 on October 25, 2016, 05:00:14 AM
Hi all,

I'm trying to render a material so that it's not visible directly, but only in reflections. Theres this type of a setting on the Area Light material but not in any other materials.

In the crappy attachment:
Green line = door
Red line = mirror

So you have a closed room with a mirror inside. The material on the door should act so that you can see through it but it's visible in the reflection in the mirror.

I didn't find any easy way to do this in KeyShot6! Is there any way to do this?
Title: Re: Material only visible in reflections
Post by: bdesign on October 25, 2016, 07:37:01 AM
Apply a Surface Backside Mask node to the Opacity channel of the door material. You will need to enable "Experimental Features" under Edit>Preferences>Advanced for this utility node to be available in the Material Graph.

Eric
Title: Re: Material only visible in reflections
Post by: Will Gibbons on October 25, 2016, 07:49:35 AM
Any reason you don't want to just move the camera inside the room?

That said, you can turn on experimental features in KeyShot 6's preferences. Then, in the material graph, you can add the surface backside mask to the door's material's opacity channel. Would this work for you? The blue in my example would be your door.
Title: Re: Material only visible in reflections
Post by: Hafol1 on October 25, 2016, 09:17:41 AM
Thanks for a fast reply! This is exactly what I was looking for.

Yup, the situation is a bit hard to explain, the camera angle doesn't help. I think with these instructions I can achieve what I need!