Original Post
ok, i have some VERY basic shader code ( as in i exported the default directx effect from RenderMonkey - so it should just dye the model red), but it requires a matrix is passed to it, its called: matViewProjection - and i can't find out what it should be... I have tried passing it my projection matrix, view matrix, view*proj and some other variations with the world matrix in there too ( which is 0,0,0 so shouldn't make a difference ), but each time it either leaves me with a background coloured scene, a completely red scene or lines of red on background. I have the camera set up so it points nicely at the scene showing some background and some scene - so whouldn't i be getting a different result???? As i said this is a simple shader and this is the only variable i am passing it, no textures or anything else are loaded - so i take it it must be this matrix i am passing it is wrong??? Can anyone tell me what this matrix should be??? thanks - Jorj