[Ogre 2.0] Reverse culling on shadow pass?

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

[Ogre 2.0] Reverse culling on shadow pass?

Post by al2950 »

Hi

I was just looking at Ogre 2.0 Final progress on https://trello.com/b/59pirbgD/ogre-2-0-final. And there is a task called "Reverse culling on shadow passes" and I was curious exactly what was meant by this?
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5476
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1358

Re: [Ogre 2.0] Reverse culling on shadow pass?

Post by dark_sylinc »

The HLMS stores only one Macroblock.

This means that the shadow pass uses the same parameters as the original pass (depth read/write settings; counter-/clockwise culling, etc).
Normally, shadow passes are often rendered reversing the cull mode to avoid self-shadowing artifacts like shadow acne.

Hence I need the HLMS to somehow use a different Macroblock for the shadow passes.

It's a 2.0 Final only problem. Doesn't affect CTP at all.
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Re: [Ogre 2.0] Reverse culling on shadow pass?

Post by al2950 »

Ah I see, I was thinking it might be something completely different to do with CPU culling :oops:, thanks for replying!