PDA

View Full Version : Game Engine Glass


Dawson_John
10-28-2009, 06:13 PM
I'm modeling a skyscraper for a project, and I don't really want to use an MIA material whithin maya to get the effect of windows having reflections. So...

Part 1: I don't want my windows transparent, as I don't want to model the inside of a skyscraper. How should I go about painting this texture?

Part 2: I'm assuming this glass will need a reflection map. Is this merely a skydome, and how is it plugged in via Maya?

Part 3: Any help is appreciated.

rburke
10-28-2009, 10:01 PM
you need a shader that supports environment maps, and also a way to create an environment map from your scene. I know how to do this but really dont have time to go into it right now, but eventually i may find the time, but until then id check out polycount, and look for free cgfx shaders, some of the ones on polycount support environment maps, and to create cubemap environment maps you can use maya in conjunction with ati's tool cubemap gen. At some point i should be able to go into detail if you dont get it on your own.
although if your camera angle will remain fixed then you can do some tricks too, mainly having a camera take a shot from the angle opposite the one that the camera is relative to the reflecting surface, and then use that as a texture to fake the reflection. Id prob have to draw a diagram for that to make sense.