[Plib-users] Decals
Brought to you by:
sjbaker
From: Tyler O. <Tyl...@gm...> - 2004-09-20 20:10:52
|
Is there somewhere in a state of a node to disable depth writing to allow for decals? This is the only way I've thought of to do decals: glDepthMask(false); ssgCullAndDraw(&ssgBranchObject1); ssgCullAndDraw(&ssgBranchDecalForObject1); glDepthMask(true); glColorMask(false, false, false, false); ssgCullAndDraw(&ssgBranchObject1); glColorMask(true, true, true, true); but this requries you to remove that object from the scene and call ssgCullAndDraw on individual objects. Is there another route? Thanks, Tyler -- Tyler Ohlsen Tyl...@gm... |