Planes, Terrains and texture layers. With HideEntity. Wierd, wierd problem.

Blitz3D Forums/Blitz3D Programming/Planes, Terrains and texture layers. With HideEntity. Wierd, wierd problem.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well, before we go any further, let's just marvel at how stupid I am:

I wrote a quick test to try and cause the fault, and I partly managed it. Now, the symptom seen in the screenshot isn't quite as it appears: black half-textured water is, in fact, the whole thing. It's just not catching the light, so it looks wrong. (Told you I wa stupid). That just leaves the mysterious second plane of water, which is bound to be my bad also. I really hate doing this: not being able to find a bug in my code, so having to blame Blitz, and then finding the fault lay with me after all. So far, Blitz has been 100% right in these matters. This is what I get for letting bugs keep my up late when I don't think straight.

I'd rather not share my source, partly because I'm hoping to sell this game eventually but mostly because my code is seriously untidy. I'd be embarrassed to let anyone else see it :D Its well annotated, but ugly. Very ugly.