PDA

View Full Version : Black water?


-Chrono_MOT-
03-19-2003, 08:19 AM
Anyone else get this problem? My buddy ShroomDuck's maps have perfect water in them, and you can't see RIGHT through it.

When I compile my maps, however, the water is dark and has no surface texture. Can anyone think of anything I might be doing wrong?

ioshee
03-19-2003, 11:00 AM
What water texture/shader are you using?

How did you apply the water to the brush? (it should be on the top and bottom only, caulk on all sides.)

What exactly does it look like after you compile and test it? is it the black and white grid thing? or just black?

-Chrono_MOT-
03-19-2003, 12:54 PM
water on top and bottom, non-solid caulk on all sides.

And it looks exactly like water should look like, but without a surface texture.

Leslie Judge
03-19-2003, 02:17 PM
I have that problem too. One of my three water area is black and I used the same method and same shaders for them. :)

Someone else also had it. I don't know if he could solve it or not. But the thread is somewhere on this forums.

-Chrono_MOT-
03-21-2003, 08:13 AM
Well that would have been me ^_^.

I'm still having that problem. I think it comes down to the brush needing to touch the edges directly, of the parts it comes into contact with. I tried this, and I did get a texture on the top of the water...but it was solid :\

I even re-compiled 10 or 11 times and it STILL was black.

yangyan
03-22-2003, 10:25 PM
Whats the use of recompiling?

master_thomas
03-22-2003, 10:46 PM
Did you try rebuilding the water brush completely? Can you give us a picture?

Leslie Judge
03-23-2003, 06:37 AM
Originally posted by yangyan
Whats the use of recompiling? Sometimes after recompiling the water behaves as a water has to. But it's always black. At least for me.

Probably it doesn't like that patch meshes are hanging in it, but that's my shore. :) I'll test the things when it'll become important.

-Chrono_MOT-
03-28-2003, 08:02 AM
That's what it is Leslie. The water has to be touching the edges of its container. So for example you want to have a ditch with three sides instead of four, and you still want the shader to show up - you have to build the water brush so that it fits within that.

In other words, you can't have anything inside of it.

If anyone knows how to get around this, speak your mind. Otherwise, it's better to continue making water maps with the stuff inside of it than it is to make it plain water. :)

Karshaddii
04-05-2003, 11:29 AM
KK, possible solutions buddy--I get the same darn water probs in all my maps and I have to play around 'till I get it working. Here are some *possible* solutions that have worked for me in the past:

1. Don't caulk a water brush. Ever. Who ever came up with that should be dragged into the street and shot. (ok, not really but for the sake of this post...) = )

2. Do not let the water brush touch any other surface (use the 1 grid if need be to raise the water brush just slightly above the floor--do the same for the walls)

3. Do not let any other brush--or patch mesh intersect the water brush (it's hard, I know--but if your desperate enough.....)

4. Use bespin/water2 seems to work better that water1

5. Kick the computer mercilessly while compiling.

Hope this helps somewhat. = )

wedge2211
04-05-2003, 11:54 AM
Originally posted by Karshaddii
1. Don't caulk a water brush. Ever. Who ever came up with that should be dragged into the street and shot. (ok, not really but for the sake of this post...) = )
Yeah, don't caulk it. Use nodraw instead.

2. Do not let the water brush touch any other surface (use the 1 grid if need be to raise the water brush just slightly above the floor--do the same for the walls)
Uh??!

3. Do not let any other brush--or patch mesh intersect the water brush (it's hard, I know--but if your desperate enough.....)
UH???!?!!

Eldritch
04-05-2003, 12:34 PM
Originally posted by wedge2211
Yeah, don't caulk it. Use nodraw instead.


Uh??!


UH???!?!!
You said it, Wedge. I agree with #1, but the rest of them... just don't make sense (#2, 3, & 5, specifically).

Leslie Judge
04-05-2003, 02:48 PM
Don't know Aru... #5 worked for me. :D j/k

Karshaddii
04-05-2003, 05:14 PM
Please READ what I said peeps--those aren't the strict RULES for water--those are just fixes to some problems Ive had. Please don't go thinking that I just re-wrote the rules of the water shader.

Leslie Judge
04-05-2003, 06:12 PM
Hmm... I made a compile with no lighting. Guess what? The water was NOT black. So it seems to be a kind of lighting issue for me. I'm going to make some tests in the following week.