Skip to main content

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

You would want a 4096x4096 texture as 4096*4096 = 16777216 to index into that you can divide and mod the previous formula eg          x = value%4096 y =  floor(value/4096