Questions

Started by
1 comment, last by JorenJoestar 16 years, 3 months ago
Hi guys, a simple question: does you need to call the method SetTransform(D3DTS_VIEW, ...) to set the view matrix? I've seen that using shaders it makes nosense - actually you pass also the view matrix (and the projection matrix) to the shader as input, so any vertex is transformed with those. Is it correct? Thank you!
---------------------------------------http://badfoolprototype.blogspot.com/
Advertisement

Hi,

SetTransform is part of the fixed function pipeline and isn't needed with the shaders.

Cheers!
Good! This explain me many of the errors that are reported by directx in debug mode...

Thank you!
---------------------------------------http://badfoolprototype.blogspot.com/

This topic is closed to new replies.

Advertisement