I'm experimenting with mapping. I have 2 plain objects, one under the other. The top is textured with a water texture, and the bottom with a ground texture. I have the water plain alpha mapped to a value of 50. I'd expect the ground texture to be visible through the water plain (from the alpha mapped water plain), but instead, all that is visible through the water is my sky sphere. The ground doesn't become visible until I move the camera under the water plain (like it just "appears"). This only happens when I have textured the ground plain; if I leave it untextured, then you can see it through the water.
Also, if I try to color the ground brown instead of using a texture, it is still visible through the water, but it stays white. Why?
Here's my code for creating the two plains:
+ Code Snippetrem load textures
skytexture=1 : load image "sky.bmp",skytexture
watertexture=2 : load image "text_water2.bmp",watertexture
groundtexture=3 : load image "text_ground.bmp",groundtexture
rem load music
bgm_overworld=1 : load music "overworld.mp3",bgm_overworld
rem load sounds
sfx_laser=1 : load sound "laser.wav",sfx_laser
rem water
water=6 : make object plain water,10000,10000
rotate object water,90,0,0
position object water,0,-10,0
texture object water,watertexture
set alpha mapping on water,50
set bump mapping on water,watertexture
scale object texture water,16,16
rem ground
ground=7 : make object plain ground,10000,10000
rotate object ground,90,0,0
position object ground,0,-300,0
texture object ground,groundtexture
scale object texture ground,32,32
{my game itself is attached