felixpalmer / peaks-of-austria

Explore the peaks of Austria in 3D - powered by Procedural GL JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No textures in Firefox with privacy.resistFingerprinting or webgl.min_capability_mode

kevinoid opened this issue · comments

This is a fascinating and beautiful project. Thanks for creating it!

Just wanted to let you know that the textures do not appear in Tor Browser, or in Firefox when either privacy.resistFingerprinting or webgl.min_capability_mode is enabled in about:config. This occurs because the maximum texture size is limited to 2048x2048 (or 1024x1024 for webgl.min_capability_mode), resulting in the following console warnings:

THREE.WebGLRenderer: Image in DataTexture is too big (4096x4096).
WebGL warning: texImage: Requested size at this level is unsupported.

I understand if fixing this is not a priority, since these conditions are currently rather niche. Just opening the issue so you are aware.

Cheers, and thanks again for this project,
Kevin

P.S. See Bugzilla Bug 1684230 for discussion on the Mozilla side.

OK, interesting to know. Unfortunately cutting down the texture size isn't really possible while keeping the library working as designed, so this is a limitation that we will have to live with