RTSS PSSM and D3D11

Minor issues with the Ogre API that can be trivial to fix
Post Reply
Crashy
Google Summer of Code Student
Google Summer of Code Student
Posts: 1005
Joined: Wed Jan 08, 2003 9:15 pm
Location: Lyon, France
x 49
Contact:

RTSS PSSM and D3D11

Post by Crashy »

Hi,

I've just sent a pull request ( http://bitbucket.org/sinbad/ogre/pull-r ... d3d11/diff ) to fix issues with the PSSM implementation of the RTSS when using the D3D11 rendersystem.
This is mostly related to the textures and samplers code which is different with shader model 4+.

This shouldn't change anything on others render systems, but since this is my first modification of the RTSS I may have made some mistakes.

I've also changed the way the split points are grabbed, now they're grabbed from the auto param source because of consistency with the split points computed from the compositor shadow nodes of the V2.x

I think this shouldn't change anything for Ogre 1.x version.

PS: I've made the request on the V2.0 branch but it should be compatible with 2.1 and 1.X.

Thanks.
Follow la Moustache on Twitter or on Facebook
Image
Post Reply