Game Development Community

Waterblocks

by Richard Van Stone · in Torque Game Engine · 04/29/2007 (11:09 pm) · 9 replies

Ok I've been struggling with a waterblock for several hours now and haven't gotten anywhere with it.

For some reason I can't get the dang surface texture to be transparent so that you can see through it. A bit of info on the background of our project. We do not have a terrain file the entire level is built solely with interiors. The waterblock is placed into a pool and fits fine but for some reason we can't get it to go transparent. I've played with a ton of settings so I don't know what's causing the problem. Any help/advice would be greatly appreciated.

Rich

#1
04/29/2007 (11:29 pm)
Waterblock -> Depth Fx -> MinAlpha & MaxAlpha.
#2
04/29/2007 (11:45 pm)
Tried that did absolutely bupkis.
#3
04/30/2007 (12:26 am)
Strange, works fine for me. Maybe your texture is faulty? Try resetting the texture to the stock "water" texture that ships with the engine and see if that makes a difference.

I'm using 1.4.2 by the way, what version are you running?
#4
04/30/2007 (4:09 am)
If you dont have a terrain, what will you see through the transparant water surface? perhaps thats the problem
#5
04/30/2007 (4:43 am)
I'm using 1.5.1 and you'd see the interior floor of the pool
#6
04/30/2007 (4:59 am)
Sounds strange that adjusting the MinAlpha & MaxAlpha wouldn't work. Did you try experimenting with different textures?
Quote:
I'm using 1.5.1
As per every new release of Torque I hear 1.5.1 has the usual barrage of bugs. Wouldn't surprise me if this was another one to add to the list.
#7
04/30/2007 (5:00 am)
Are you using a .dif for the pool and letting the water block extend through the .dif? that might be causing it to not show up or your errors. I know i have been having similar errors where i cant see the surface when im looking at certain angles. but then again i dont need it transparent.
#8
04/30/2007 (5:02 am)
I would suggest adding a terrainblock and see if that solves the problem.
#9
04/30/2007 (12:06 pm)
I fixed the one error ...I think it has to do with scaling....I read somewhere you can't scale the water in game and that may have caused one problem....now I'm working on transparency.