Skip to content

Commit

Permalink
Re-enabled anti-aliasing in VR viewport
Browse files Browse the repository at this point in the history
This should make it less flickery again
  • Loading branch information
retour committed Sep 21, 2019
1 parent f5f7931 commit 8f7f795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Perspectives/VR/FirstPersonVR.gd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func _ready():
get_viewport().arvr = true
get_viewport().render_target_clear_mode = Viewport.CLEAR_MODE_ALWAYS
get_viewport().render_target_update_mode = Viewport.UPDATE_ALWAYS
get_viewport().keep_3d_linear = true
get_viewport().keep_3d_linear = true # OpenVR handles sRGB conversion for us
get_viewport().msaa = get_viewport().MSAA_2X # The VR display needs good anti-aliasing

logger.info("Successfully initialized VR")
else:
Expand Down

0 comments on commit 8f7f795

Please sign in to comment.