Qbasicnews.com

Full Version: OGL stencil buffers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I know whether I have access to stencil buffers? Something about glGetIntegerV....but I didn't quite get it.
If ogl works, you're likely gonna have access to stencil buffers. Mine is a 2mb cirrus logic and I could use it but very very slow (sofware render prolly).

Doing some shadows and reflections?
If I remember correctly, the software renderer has access to everything. At least that is how it is under DirectX - software mode has access to every feature there is... it just isn't very fast. I seriously doubt that your 2MB card has support for it - I'm not even sure if OpenGL was out when it was made. :lol:
toying with shadow volumes....the stencil buffer works now...I forgot the sdl_gl_setAttribute ...... anyway now I've got to get the shadow volumes working......I made a single poly cast a shadow on everything else, (z-fail algo) and it casts a shadow, except at certain angles a lighted patch forms, in the exact shape of the poly....any ideas?
Quote:If I remember correctly, the software renderer has access to everything. At least that is how it is under DirectX - software mode has access to every feature there is... it just isn't very fast. I seriously doubt that your 2MB card has support for it - I'm not even sure if OpenGL was out when it was made. :lol:

Directdraw maybe, but not d3d. Mine cant make a d3d surface.
Quote:toying with shadow volumes....the stencil buffer works now...I forgot the sdl_gl_setAttribute ...... anyway now I've got to get the shadow volumes working......I made a single poly cast a shadow on everything else, (z-fail algo) and it casts a shadow, except at certain angles a lighted patch forms, in the exact shape of the poly....any ideas?


Are you rendering the shadows from the light's perspective with front face culling enabled?
don't worry I figured it out...put simply infinity was too far, so the far depth cap was clipped....silly me.