Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Reverse_Gecko

Stencil Buffer in SDL

This topic is 5716 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm working on a project that involves stenicled volumetric shadows. Origionally I was using basecode from the dev-c++ opengl example code, and I had to change the pixelformatdescriptor to allow the stencil buffer. I have swiched to sdl, but I don't know how to change the pfd so it allowes the stencil buffer. Any help would be appreciated. [edited by - reverse_gecko on March 23, 2003 12:53:10 PM]

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, the_stencil_buffer_size_that_you_want);

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!