Game Development Community

Water effect bugs and problems discussion

by Cisor · in Torque Game Engine · 01/06/2004 (9:32 am) · 0 replies

There seem to be a few bugs to do with the Torque water effect. It just overlays a blue effect over the screen (game.cc) and this creates the following problems:

1) The water effect colours the gui elements (easily fixable and if anyone is interested, I can post a workaround/bug fix).
2) Underwater interiors don't handle the water effect properly.

By 2) I mean that a properly portalised underwater building won't show the water effect when you are inside and the portal is not in view, but shows the water effect when the portal is in view. (It colours the whole screen, not just the area visible though the portal, even though you are inside).

Any thoughts?

Which leads me to thoughts on how it should work:

Perhaps portals should be flagable to allow water (much as they do ambient light), and when they don't, the water effect should just colour the underwater area visible through the portal, not the whole screen. (Not too sure how to accomplish this portal only colouring - any ideas?).

BTW Unportalised interior areas seem to show the water effect colour throughout the flooded area, but this of course entails a performance hit.

PS: This is my first thread creation so ...