Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Questions

Started by JorenJoestar Jan 16, 2008 at 4:40 AM 1 replies 400+ views
Original Post
JorenJoestar
JorenJoestar
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/
kauna
kauna

Hi,

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

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

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.