You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/js/loaders/XPlanePolLoader.js
+5-4
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@ THREE.XPlanePolLoader = ( function () {
54
54
varddsPath=splitPath.concat(['dds']).join('.');
55
55
varpngPath=splitPath.concat(['png']).join('.');
56
56
57
-
ddsLoader.load(
57
+
// DDS Texture loading currently disabled because of this bug https://github.com/mrdoob/three.js/issues/4316 - Compressed DDS textures load upside down
58
+
/*ddsLoader.load(
58
59
// resource URL
59
60
ddsPath,
60
61
@@ -70,7 +71,7 @@ THREE.XPlanePolLoader = ( function () {
70
71
undefined,
71
72
72
73
// onError callback
73
-
function(err){
74
+
function ( err ) {*/
74
75
textureLoader.load(
75
76
// resource URL
76
77
pngPath,
@@ -91,8 +92,8 @@ THREE.XPlanePolLoader = ( function () {
91
92
console.error('Could not load texture. Tried '+ddsPath+' and '+pngPath);
0 commit comments