Game Development Community

Interiors: MirrorSurface translucency

by Yossi Horowitz · in Torque Game Engine · 04/22/2005 (7:47 am) · 2 replies

We're trying to create translucent mirrors. We've managed to get reflective interiors into the engine, but if we assign translucency to the MirrorSurface entity in the map editor, the reflection seems to blend with the fog color instead of with the texture that the surface could have.

Any thoughts on how we can get the reflection to properly blend with the surface's texture?

Also, we want to have several mirrors in a scene. Ordinarily, this would presumably kill the framerate, but they're all on the same plane, so theoretically it should be possible to render the reflection only once. How difficult would it be to modify the reflection code to make something like that work?

Thanks in advance for your help!

#1
04/22/2005 (8:04 am)
You might be able to start with this and utilize some of the changes I made to mirrorSubObjects.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4554

- Brett
#2
04/22/2005 (8:22 am)
Great, thanks! That will help a lot!

The question still remains: is there a way to share a single reflection across multiple co-planar mirrorSubObjects?