Need to turn off skydome visibility in reflection

sfillat
Contributor
Contributor

Need to turn off skydome visibility in reflection

sfillat
Contributor
Contributor

5631-screen-shot-2020-01-11-at-94711-pm.png


I'm lighting this scene with a skydome with and HDRI plugged into it's color channel. The window uses an aiStandardSurface with the glass preset.

How do I turn off skydome reflections in my window I see only the ball's reflection? I tried turning down specular visibility on they sky dome, which does work for getting rid of the HDRI reflection, but then removes reflections from the ball reflection.

0 Likes
Reply
3,953 Views
6 Replies
Replies (6)

madsd
Advisor
Advisor

In max we have light groups that can be assigned to mesh.

A hack to do this is to enable a light group on the window but add no light so group is enabled, but empty, that will make the specular disapear and only render the reflection of the ball and some blue from the general environment, not the HDRI.


Could be super funny if you actually could do same trick in some way.5587-qweqweqwe.png


2nd method.
( if you want flexibility, add 2 light rigs, 1 for windows 1 for everything else, and then turn down specular contribution with a float spinner instead of a switch on the one that lights the glass ( with proper linkage to the correct light of course )) Although I do not see a point for having 50% reflection from the HDRI, it is possible via this route, the first one is an on/off experience.

0 Likes

sfillat
Contributor
Contributor

I tried Maya light groups, but they seem very limited. I can't add geometry to them. Looks like they are just for organizing lights. I'm assuming I need to be doing this with render layers and overrides, but I just can't find the right incantation.

Here's another question: why isn't my shadow showing up in the reflection?

I'm starting to wonder if the aiStandardShader isn't the shader I want to be using here.
0 Likes

Anonymous
Not applicable

below visibility there is one option called camera

change its value from 1 to 0

@ Simon Fillat

0 Likes

brian_Foley
Advocate
Advocate

You can turn the IOR of the glass to 0.


You can also create 2 skydomes. 1 with all but spec and the other with spec only. Create a plane behind the scene with Arnold visibility all to off except Cast shadow and link it only to the Spec Skydome.

5672-2domes.jpg

5671-blockerimage2.jpg


AiStandard should be fine. Not sure how you are getting the shadow on your image.

0 Likes

sfillat
Contributor
Contributor

This is so close to what I need! Thank you. The light linking is where it's at. I didn't need the blocker geometry.

5665-hdri-ball2-rgb.jpeg

The last bit I need to solve is that I need to have alpha around both the ball and the reflection. The mirror comes through as all RGB.

5664-hdri-ball2-alpha.png



0 Likes

brian_Foley
Advocate
Advocate

Are you trying to create a glass reflection or mirror? You might get better results using a chrome (mirror) shader.

0 Likes