Does unit scale matter?
I'm working on a game with a 2d gameplay, meaning that the textures will be rendered on flat squares and rectangles and the objects are limited to movement along the x and y-axis(es). I've decided that each object is 1x1 units, my question is: does this scale matter? or could I use 10x10 objects instead, provided that i move the camera further back? Would the textures render differently?
thanks for any help!
Unless you decide to make your unit scale super huge or super small then it doesn't really matter as long as you scale the camera matrices, etc. appropriately.
Most of the time it doesn't matter and you ought to concentrate on using a sensible scale, so 1x1 is fine, nothing wrong with 10x10 either.
If you use extreme scales then you run into problems with floating point accuracy or integer overflows. It's not likely to bother you unless you're simulating the solar system to a realistic scale, for example.
If you use extreme scales then you run into problems with floating point accuracy or integer overflows. It's not likely to bother you unless you're simulating the solar system to a realistic scale, for example.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement