Responsive Isometric/Orthographic Camera

Hi all,

Been trying to convert the Orthographic camera from this example I came across:

So that it resizes responsively, without any success (I’ve instead managed to make it resize with horrific distortions…)

I’ve been going round and round in circles and having a complete brain fog, so apologies in advance if the solution is actually devastatingly simple!

so apologies in advance if the solution is actually devastatingly simple!

Don’t worry we’ve all been there

In your example at Line 94, the aspect is width / height

var aspect = window.innerWidth / window.innerHeight;

1 Like

Ah geez, it really was that simple… Thank you so much!

1 Like