How can I calculate the value of state.matrix.mvp myself and pass it as a parameter to my vertex shader?
Not really an advanced question, but multiply the projection and modelview matrixes and you’re done.
mvp = projection * modelview;
How can I calculate the value of state.matrix.mvp myself and pass it as a parameter to my vertex shader?
Not really an advanced question, but multiply the projection and modelview matrixes and you’re done.
mvp = projection * modelview;