Code:
float4x4 mWorld;
float4x4 mWorldViewProjection;
float4x4 mWorldViewProjectionLast;


stuff like this has to be converted to the engine's standards. so it would be like this for example:
Code:
float4x4 matWorld 
float4x4 matWorldViewProjection
float4x4 matWorldViewProjectionLast


You also need to make sure to set up the textures used by the shader.


BASIC programmers never die, they GOSUB and don't RETURN.