PDA

View Full Version : Water in a glass tank. Plz Help!!



legacy-Geeza
05-13-2004, 08:04 AM
Hi all,

For a level I'm currently making I want to have a couple of glass tanks with water in them. I've created the tanks and added a water volume inside. The problem I'm having is getting a water texture to display through the glass. I created a subtraction brush which is slightly less wide than the glass tank. When I texture it however, its not visible through the glass.

Is there an easier way to do what I want. Forgive me if this is easy, I'm a n00b.

Any help will really be appreciated :)!

bartje321
05-13-2004, 08:11 AM
make sure the glass tank is hollow

legacy-Doctor7
05-13-2004, 08:30 AM
Do you really need the water volume? Can players actually get into the tanks?

If not, then there are two ways to do it. One is to add the glass brush, subtract a slightly smaller brush for the other side of the glass (using the same texture), and then add a slightly smaller one again for the water. The other is to do the water as one added brush, and put sheets around it for the glass. The second method doesn't look as good, but might work better as transparent textures can cause problems on hollow brushes - sometimes they work as expected, other times you get a hall of mirrors.

I suppose the third way is to make the tank as a static mesh - transparency works properly on meshes, and you'd be able to include more detail. But if you don't use a modelling program, that's not really an option

If the players can enter the water, then you'll also need to make the water brush non-solid, and add the volume in the same place.

legacy-Geeza
05-13-2004, 11:00 AM
Players will be able to swim in the tanks to access a couple of secret areas, so I guess I'll have to make the water brush non solid. Thanks for your help dude :).

legacy-Bishops292
05-13-2004, 11:18 AM
this is easy....
lets say your glass box is 2000x2000x2000... just make a non solid brush about 1998x1998x1998 you will be able to texture all sides....