speedwago
25-05-2007 11:51:56
Hi,
why in the ofsision bump mapping from render monkey tutorial the matrix used in the shader where changed?
Lioric
29-05-2007 16:41:31
Do you mean the worldViewProjMatrix? this is because we want to take into account the world coordiantes of the object (not just the model coords), the vertices need to be in world space to correctly display the object in the correct world position with the shader
The ATI example used only the viewProjMatrix, because they need the object to be always centered and non it is non-moving (only the camera can be moved)
If you need more details on Transformation Pipeline, see this MSDN page
http://msdn2.microsoft.com/en-us/library/bb206260.aspx