Anyone run into this issue?
I’m setting environment texture to environment.dds (from the stock babylon js assets). And it’s throwing an error - but only in Firefox - and only when pushed up to Firebase (hosted Node server). I thought it might be related to SSL, but seems to work fine over SSL in playground.
The error is:
BJS - [11:24:45]: Invalid magic number in DDS header
Which seems weird, since the file is working on Chrome and on FF locally.
And my code is:
g.scene0.environmentTexture = BABYLON.CubeTexture.CreateFromPrefilteredData("/skyboxes/dds/environment.dds", g.scene0);
Localhost on the left - and Firebase on the right (see error in console):