Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I plan to use low resolution sprites, but I want the space station to be a torus, so each rectangular room should look rounded. To solve this problem, I wrote a shader that curves the input UV's, and a CurvedViewport class that applies the same mapping to the input touch coordinates. As long as the curvature isn't too extreme, it looks close enough to represent a section of the large torus.