Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 25 Dec 2012
Offline Last Active Dec 29 2012 11:02 AM

Posts I've Made

In Topic: Using stencil buffer to draw reflections

25 December 2012 - 03:30 PM

When should I be clearing it? If you mean before I start drawing each frame, then yes:

    GL11.glClearColor(0, 0, 0, 1);


If you mean something else, then probably not. What is posted above is all the code that does anything with the stencil buffer.