A deferred shading pipeline – a few questions
-
- Ogre Magi
- Posts: 1137
- Joined: Mon May 07, 2007 3:43 am
- Location: Ossining, New York
- x 13
Re: A deferred shading pipeline – a few questions
If you're in the volume, change the depth function AND invert the triangle winding. I think the Ogre demo actually does this anyway. I use 2 passes -- one a batch of all 'internal' lights and one for all 'external' lights.