Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualNik02

Posted 20 July 2012 - 08:27 AM

Neither of the techniques I described are in any way related to lighting.

In order to write something to the stencil buffer (without card-specific hacks), you need to render something, because the standard stencil buffer formats are not lockable and therefore you can't get direct access to their surface memory from within your program. Rendering can be thought as an indirect write access.

#1Nik02

Posted 20 July 2012 - 08:25 AM

Neither of the techniques I described are in any way related to lighting.

In order to write something to the stencil buffer (without card-specific hacks), you need to render something, because the standard stencil buffer formats are not lockable and therefore you can't get direct access to their surface memory from within your program.

PARTNERS