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...
|