• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

3D Issues with depth order and alpha [SOLVED]

Mert

Member
Hi. I have a terrain model(d3d) and a water model(d3d_floor). The problem is that If I draw the terrain before, and the water after that, the water model is drawn onto the terrain though it's z value is lower than the terrain. It looks like this:


If I draw the terrain first, and draw the water after, it looks like this as the terrain is drawn onto water.


I tried d3d_set_depth, it doesn't work.

SOLVED : If you encounter similar problem, do not use floor, use d3d_block instead.
 
Last edited:
Top