View Full Version : Calculating state.matrix.mvp manually
08-31-2004, 10:24 AM
How can I calculate the value of state.matrix.mvp myself and pass it as a parameter to my vertex shader?
08-31-2004, 01:35 PM
Not really an advanced question, but multiply the projection and modelview matrixes and you're done.
mvp = projection * modelview;
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.