Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Environment refraction through glass
show user profile  Westcoast13
I have a scene of a car with an environment switcher setup, the background is white, reflection is an HDR map.

You can see through the car windows and the refraction shows the HDR map, but either side of the car is plain white.

I'm pretty sure i'm being a div and there is an easy fix for this (I want to see plain white through the car windows too!)


My Turbosquid Area

read 447 times
5/15/2013 11:39:13 AM (last edit: 5/15/2013 11:39:13 AM)
show user profile  Nik Clark
>>but either side of the car is plain white.

I didn't understand this. Do you mean the background?



read 447 times
5/15/2013 11:43:43 AM (last edit: 5/15/2013 11:43:43 AM)
show user profile  Westcoast13
Yes, the background that isnt viewed through glass! Sorry - poor explanation!

Cant post a render i'm afraid!


My Turbosquid Area

read 446 times
5/15/2013 11:47:08 AM (last edit: 5/15/2013 11:47:08 AM)
show user profile  Nik Clark
The background/environment switcher material lets you have separate background and reflections without having to add an environment reflection map to every material.

If you have your background set to white, it will always be white.

What do you want the background to be?



read 445 times
5/15/2013 11:52:04 AM (last edit: 5/15/2013 11:52:33 AM)
show user profile  Westcoast13
The switcher is working as i need. White is perfect!

I'll be saving as a png and comping in my own BG. Its the bit through the car windows that picks up the refraction of the HDR map that i want to get rid of.


My Turbosquid Area

read 440 times
5/15/2013 11:59:05 AM (last edit: 5/15/2013 11:59:05 AM)
show user profile  Nik Clark
Ah, sorry. I got the wrong end of the stick there! Derp.

I'm not near a max machine at the moment, but I'll have a look at this as soon as I get back to my desk. It might be that you have to add a white environment map to these materials.




read 434 times
5/15/2013 12:08:33 PM (last edit: 5/15/2013 12:08:33 PM)
show user profile  Westcoast13

That explains it a bit better! :)


My Turbosquid Area

read 431 times
5/15/2013 12:15:24 PM (last edit: 5/15/2013 12:15:24 PM)
show user profile  Nik Clark
I just had a play with it and found the same thing as you.

To solve it, I instanced the background (colour) to the environment map slot of the glass material and that fixed it.



read 411 times
5/15/2013 4:21:23 PM (last edit: 5/15/2013 4:21:23 PM)
show user profile  Westcoast13
Thanks Nik, i'll give that a go.


My Turbosquid Area

read 407 times
5/15/2013 4:25:06 PM (last edit: 5/15/2013 4:25:06 PM)
show user profile  roccodiablo
in the A&D settings, is your glass material set to "transparency propagates alpha channel" in the advanced rendering options?
read 399 times
5/15/2013 4:34:56 PM (last edit: 5/15/2013 4:34:56 PM)
show user profile  Nik Clark
That might be a more simple solution to the problem.



read 377 times
5/15/2013 5:41:08 PM (last edit: 5/15/2013 5:41:08 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org