So we have an application that is fairly demanding, now this presents a couple of problems which seems close to impossible to solve in THREE, but in fact it’s probably more the fault of webgl.
Ideally we’d like to poll for hardware info & make a decision from that, but sadly something as rudimentary as even how much VRAM the device supports is out of reach. Consequently it would seem the only approach possible is to try for the high end mode and see if it fails during initialization. Now sadly it’s extremely common with integrated intel GPUs, and those can have some seriously low amounts of VRAM assigned to them. What happens when you go beyond that limit isn’t, as one would expect, that you get an out of memory error, no instead it seems to throw a context lost.