Oh Man, thank you so much! This is the best video explaining Morton Codes I have ever watched. I am reading the source code of virtual texture system in Unreal, they do use the trick for getting the correct pages of virtual textures.
@dbatdev10 ай бұрын
Thank you. That was refreshing in its clarity.
@SJ-ds8lp8 ай бұрын
What about if your tiles are negative infinity to positive infinity wide?
@GetIntoGameDev8 ай бұрын
A little difficult to order these, maybe you could try ordering based on the position of the centre?