Jump to content

Featured Replies

Posted

So, when we create a custom camera in game and manually set the rotation to point where we want or when we strafe the camera to one side, the Anti Aliasing seems to be temporary disabled and we can notice big visual changes, example:

330301774_RedDeadRedemption2Screenshot2020_06.10-18_27_32_37.thumb.jpg.775ea4750c0efae1d00f55312cb23183.jpg

Stopped camera X Moving camera

 

Anyone know how to avoid this in custom cameras?

Edited by JulioNIB

  • Author

ok, so, i believe you was talking about the camera_photomode script? i take a look and tried almost everything, finally found the solution, we need to use the method SET_CAM_PARAMS to determine position and rotation 🙂

thanks for the tip

the final code for moving and pointing the camera is:

 

Native.Function.Call(Native.Hash.SET_CAM_PARAMS, freeCam, freeCamPos.X, freeCamPos.Y, freeCamPos.Z,
                        freeCamRot.X, freeCamRot.Y, freeCamRot.Z, 50.0F, 0, 1, 1, 2, 0, 0)

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...