@xviewer.js/core 1.0.0-alpha.18 → 1.0.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +3 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -3
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/types/TextureSettings.d.ts +2 -1
- package/types/tween/index.d.ts +1 -1
package/dist/main.js
CHANGED
|
@@ -1143,6 +1143,7 @@ class aJSONLoader extends aLoader {
|
|
|
1143
1143
|
class aTextureLoader extends aLoader {
|
|
1144
1144
|
load({ url, onLoad, onProgress, onError, texSettings }) {
|
|
1145
1145
|
const loadCallback = (tex)=>{
|
|
1146
|
+
tex.colorSpace = three.SRGBColorSpace;
|
|
1146
1147
|
onLoad(Object.assign(tex, texSettings));
|
|
1147
1148
|
};
|
|
1148
1149
|
const loader = new three.TextureLoader(this.manager.loadingManager);
|
|
@@ -2932,7 +2933,7 @@ ResourceManager._texSettingKeys = [
|
|
|
2932
2933
|
"minFilter",
|
|
2933
2934
|
"format",
|
|
2934
2935
|
"anisotropy",
|
|
2935
|
-
"
|
|
2936
|
+
"colorSpace",
|
|
2936
2937
|
"repeat"
|
|
2937
2938
|
];
|
|
2938
2939
|
|
|
@@ -3552,6 +3553,7 @@ exports.Box = Box;
|
|
|
3552
3553
|
exports.CinestationBlendDefinition = CinestationBlendDefinition;
|
|
3553
3554
|
exports.CinestationBrain = CinestationBrain;
|
|
3554
3555
|
exports.Component = Component;
|
|
3556
|
+
exports.Easing = Easing;
|
|
3555
3557
|
exports.EventEmitter = EventEmitter;
|
|
3556
3558
|
exports.FreelookVirtualCamera = FreelookVirtualCamera;
|
|
3557
3559
|
exports.Logger = Logger;
|