Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Just in case someone has this problem, it has to do with the render camera.
It also breaks some other things like onMouseDown() not working or screen to world point/viewport whatever bring back unusable coordinates.

Using the simple method, without lighting support(1 main camera + pixel perfect camera attached to it), gets rid of all these problems.

(+1)

Thanks for this, I wasn’t expecting as many issues with this setup. If you don’t need post processing, then it is better to use 1 main camera and the pixel perfect component. It works slightly differently than the method that we’re doing here. Next year I’ll be sure to include this as well.