Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 44658b4

Browse files
Update multiple viewers
1 parent 2160fee commit 44658b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

viewers/templates/GLTF WebGPU.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@
18921892
texture_loader.load( canvas_tex.image.toDataURL( 'image/png', 1 ), function( png_tex ) {
18931893
canvas_tex.dispose();
18941894

1895-
png_tex.flipY = (bg_flip === false);
1895+
png_tex.flipY = (bg_flip === true);
18961896

18971897
if (equi_enabled === true) {
18981898
png_tex.mapping = THREE.EquirectangularReflectionMapping;

viewers/templates/OBJ WebGPU.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@
27612761
texture_loader.load( canvas_tex.image.toDataURL( 'image/png', 1 ), function( png_tex ) {
27622762
canvas_tex.dispose();
27632763

2764-
png_tex.flipY = (bg_flip === false);
2764+
png_tex.flipY = (bg_flip === true);
27652765

27662766
if (equi_enabled === true) {
27672767
png_tex.mapping = THREE.EquirectangularReflectionMapping;

viewers/templates/PDB WebGPU.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@
17581758
texture_loader.load( canvas_tex.image.toDataURL( 'image/png', 1 ), function( png_tex ) {
17591759
canvas_tex.dispose();
17601760

1761-
png_tex.flipY = (bg_flip === false);
1761+
png_tex.flipY = (bg_flip === true);
17621762

17631763
if (equi_enabled === true) {
17641764
png_tex.mapping = THREE.EquirectangularReflectionMapping;

0 commit comments

Comments
 (0)