Jump to content

[SOLVED] Custom Camera AA issue


JulioNIB
 Share

Recommended Posts

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
Link to comment
Share on other sites

It could be an on screen effect that needs to be applied. Perhaps looking at the screenshot mode script could help, it allows to toggle various effects. I believe all of it is script controlled.

  • Like 1
Link to comment
Share on other sites

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)

 

  • Like 1
Link to comment
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...