newb question:I'd like to have multiple layers of textures on my terrain. What would be the best way to do this? Is there any other way than blending?

And about blending: I render my first texture with depth testing enabled, and depth buffer writes enabled. For the second texture, I disable depth buffer writes, but what do I do with depth testing? If I enable it, wil the new texture be displayed nicely on top of the first, even if the depth coordinate is exactly the same as the first texture? Do I need some kind of offset ?

I'm not quite ready to learn GLSL, or something. I'll be very happy if I get this OpenGL 1.0 thing straight ...

Uh, GL 1.0 doesn't even have texture objects. Are you sure thats what you're actually targeting/using?

Btw, a depth tests of LEQUAL (less-or-equal) should be fine for multiple passes, as they should have identical depth values. Also, be careful with the blending - you can't blend the first pass or you'll usually get the clear colour leaking though. Usually the first pass is done without blending and the others blended on top.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org