Commit b751f966 authored by Stoll's avatar Stoll
Browse files

Fix: Texture loaded correctly

parent 26edf131
......@@ -42,7 +42,7 @@ export class GLTFModel implements IRenderable {
textureUrl,
(texture) => {
//texture.encoding = THREE.sRGBEncoding;
//texture.flipY = false;
texture.flipY = false;
gltf.scene.traverse((child) => {
if ((child as THREE.Mesh).isMesh) {
const mesh = child as THREE.Mesh;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment