AlessioForlanteDev
Member
Hello!
I am making a game using a lighting system called Aura 2.0 which is surface based.
My game is also 3d with a topdown perspective. However, when enabling the 3D stuff, the surface mismatches the world (The light starts to move with the camera).
This is the command that triggers the issues
projMat = matrix_build_projection_perspective_fov(60 , (global.default_camera_w)/global.default_camera_h, 32, 32000 );
camera_set_proj_mat( view_camera[0], projMat );
camera_set_update_script( view_camera[0], camera_update_script );
If i disable this part, it works just fine.
Can someone give me a lead? What is the issue here exactly?
I am making a game using a lighting system called Aura 2.0 which is surface based.
My game is also 3d with a topdown perspective. However, when enabling the 3D stuff, the surface mismatches the world (The light starts to move with the camera).
This is the command that triggers the issues
projMat = matrix_build_projection_perspective_fov(60 , (global.default_camera_w)/global.default_camera_h, 32, 32000 );
camera_set_proj_mat( view_camera[0], projMat );
camera_set_update_script( view_camera[0], camera_update_script );
If i disable this part, it works just fine.
Can someone give me a lead? What is the issue here exactly?