ManiacalLabs / SimPixel

WebGL Pixel Art Visualizer
http://simpixel.io
GNU General Public License v3.0
9 stars 7 forks source link

Camera Z distance scaling is off #15

Closed adammhaile closed 7 years ago

adammhaile commented 7 years ago

When display is small (8x8) it is zoomed in too far. When the display is larger (32x32) it is zoomed out too far. The edge of the display should always be close to the edge of the window.

adammhaile commented 7 years ago

@mwcz Removed -14 form the z distance calculation and replaced with *0.6. Basically it seems like the offset needed to be proportional to the calculated distance. I'm open to other suggestions.