Holes on 3D floor water if placed on sloped terrain?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Holes on 3D floor water if placed on sloped terrain?

Post by Nash »




The lake is constructed using UDMF vertex slopes (imported into GZDB using the .obj importer). I setup a 3D floor water on top of it. In the editor it looks fine, but in-game, there are these triangular holes (circled in the pic).

Is this setup not supported?
User avatar
Enjay
 
 
Posts: 27140
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Holes on 3D floor water if placed on sloped terrain?

Post by Enjay »

This has been a long-standing issue and from memory, it isn't easy to overcome engine-side.

We faced it when working on Paranoid. If you look closely at some of the rivers in that mod, you can see that, in some places, the water level is set slightly above the surrounding terrain (just by a pixel or so). This was to ensure that the underlying floor slopes were completely below the water level as having water intersecting with a slope surface can cause problems like those in your screenshot.
Post Reply

Return to “Mapping”