Arg… the loop

Getting the map to loop has been a massive pain. To be specific, instantly transporting the player from one end to the other is easy, it’s filling in the blanks at each end with a view from soon to be reached other end that is the problem. So far the best solution I’ve come up with is essentially having two extra cameras on either side of the main camera at a map length distance away so as the player reaches the end of the map the “chase” cam fills in the blanks. This required setting the camera objects clear flags to Depth only, and adjusting its depth.

Camera

This solution hasn’t been ideal as there is visible tearing at the edge of the map (plus problems with shadows and other rendering hassles) so I am trying to find something better as I continue on other aspects.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.