Advertisement

Blending Blending Blending ARGH

Started by February 24, 2003 04:25 PM
1 comment, last by Marty666 22 years ago
Hi I''m now trying to texture my landscape. I''ve seen examples (not open source unfortunately) of landscapes that have different textures on different heights, but also on different steepness. The big problem is that when I blend textures like the tutorial with the glass box, I disable depth testing. And the texture is drawn in front of stuff it''s behind. How do I blend two different textures on a poly without having to check if nothing is in front of it? Marty
_____ /____ /|| | || MtY | ||_____|/Marty
glDepthFunc(GL_LEQUAL);

| - Project-X - my mega project.. yup, still cracking along - | - adDeath - an ad blocker I made - | - email me - |
Advertisement
Thanx!
_____ /____ /|| | || MtY | ||_____|/Marty

This topic is closed to new replies.

Advertisement