Skip to main content
GameDev.net gamedev.net
🔒 Locked

Basic Stencil Buffer Usage

Started by pisiiki Jul 16, 2006 at 11:29 AM 0 replies 300+ views
Original Post
pisiiki
pisiiki
Hi, I'm trying to draw some quads on the screen but I want to discard the first n quads that are closer to the camera on a per pixel basis. I'm drawing all from front to back and trying to ignore the first n by using stencil adds until the reference value is reached but I think I don't get at all how the stencil buffer works. Help me please.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.