I’d like to map 1 world unit to be 1 pixel in three.js using the
OrthographicCamera. Everything I’ve read online seems to suggest I can just use
window.innerHeight should work just fine this but that doesn’t seem to work for me.
Ideally, this would show a 100x100 pixel square on the screen from the BoxBufferGeometry, no matter the screen dimensions.
Any idea what I’m doing wrong?