Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Making 2.5D Game in Unity – Part 2

$
0
0

In this part of the 2.5D Game in Unity series, we will write a shader to resolve the depth issues that appeared in the scene we created.

As we observed in the previous part of the tutorial, moving the camera results in rendering order glitches.
This issue originates from the way Unity renders sprites:
On each frame, Unity determines which sprite to draw in front based on its distance from the camera.
Although the Sprite Renderer has options for Sort Point– both do not solve the issue.

Before & After modifying the shader.

To solve this, we will create …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>