فهرست منبع

RGBELoader: Use FloatType as default texture type. (#22190)

Michael Herzog 4 سال پیش
والد
کامیت
9cf50593ed
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      examples/jsm/loaders/HDRCubeTextureLoader.js
  2. 1 1
      examples/jsm/loaders/RGBELoader.js

+ 1 - 1
examples/jsm/loaders/HDRCubeTextureLoader.js

@@ -22,7 +22,7 @@ class HDRCubeTextureLoader extends Loader {
 		super( manager );
 
 		this.hdrLoader = new RGBELoader();
-		this.type = UnsignedByteType;
+		this.type = FloatType;
 
 	}
 

+ 1 - 1
examples/jsm/loaders/RGBELoader.js

@@ -21,7 +21,7 @@ class RGBELoader extends DataTextureLoader {
 
 		super( manager );
 
-		this.type = UnsignedByteType;
+		this.type = FloatType;
 
 	}