PDA

View Full Version : default stencil buffer value?



mikau
04-24-2010, 06:37 PM
what value is stored in the stencil buffer before its modified? I googled it and some say its 0, while others say its 1.

trinitrotoluene
04-24-2010, 06:57 PM
The reference page for glClearStencil (http://www.opengl.org/sdk/docs/man/xhtml/glClearStencil.xml) specify that the default value is 0 after a glClear call.