[Ogre 2.0] Reverse culling on shadow pass?

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
al2950
OGRE Expert User
OGRE Expert User
Posts: 1200
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 76

[Ogre 2.0] Reverse culling on shadow pass?

Post by al2950 » Fri Dec 12, 2014 11:10 am

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?
0 x

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4078
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 232
Contact:

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

Post by dark_sylinc » Sat Dec 13, 2014 6:57 pm

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

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

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

Post by al2950 » Mon Dec 15, 2014 11:04 am

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

Post Reply