inverse projection as an automatic shader parameter

Minor issues with the Ogre API that can be trivial to fix
User avatar
ahmedismaiel
OGRE Contributor
OGRE Contributor
Posts: 217
Joined: Wed Jan 25, 2006 11:16 pm
Location: Redmond,WA

inverse projection as an automatic shader parameter

Post by ahmedismaiel »

this parameter gets used a lot of post processing that deals with depth buffer (ex .dof ,soft particles ) .it would simply things alot!
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 535

Re: inverse projection as an automatic shader parameter

Post by Kojack »

We already have it: inverse_projection_matrix
User avatar
ahmedismaiel
OGRE Contributor
OGRE Contributor
Posts: 217
Joined: Wed Jan 25, 2006 11:16 pm
Location: Redmond,WA

Re: inverse projection as an automatic shader parameter

Post by ahmedismaiel »

oh great ,i was looking for it but some how missed it ,thanks