View Single Post
Old 05-31-2009, 10:17 PM
Joe_Dert Joe_Dert is offline
Join Date: Mar 2009
Posts: 26
Default Matrixes And Shaders

Okay, so RenderMonkey has settings for matrix ordering.

There are two settings, "Row Major", and "Column Major", by default it chooses "Row Major",. DirectX however expects "Column Major" ordering.

All the dx9 examples in RM were written with this setting set to "Row Major", which means they are setup wrong for DX.

Attempting to directly use these shaders as you would a properly written dx shader, will result in the problems I had.

Changing this setting does not fix the problem, it only changes how RM handles how it's own rendering, you still need to rewrite the shaders using proper DX matrix ordering standards, or else you have to account for this in your program, which I advise against, it's better to just follow dx standards from the start.

Last edited by Joe_Dert; 06-01-2009 at 01:24 PM.
Reply With Quote