Layered Rendering (easy)

Blitz3D Forums/Blitz3D Tutorials/Layered Rendering (easy)

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.

Cool, a comment from the creator of Fontext-ness! I still use Fontext, it's great :-) Thanks for making it free. I bought it years ago, but I really appreciate this generous offer.

But now, on to business:

I think that speed gain due to Z-fail is very minimal on any half-decent hardware, except if you are using pixel shaders. As B3D can't do these anyway, you practically don't win anything.

In addition, this method requires a distinct difference in distance between layers. You can't prevent a long rifle clipping into a very near wall, for example. So the only thing that you can gain is improved Z buffer precision.

Or am I wrong here? Maybe I just misunderstood your point. In that case, please, enlighten me!

But I agree that it is advisable to adjust the clipping planes for each layer, to improve Z buffer accuracy, and added this tip to my original post.