Skip to content

Instantly share code, notes, and snippets.

@imrobbiegreen
imrobbiegreen / gltf_loader_solution.js
Created May 30, 2022 23:57
Looking for a more effective solution to load gltf models
// Model 1
// Model 1 Maps
const s1RoomColor = textureLoader.load('/Threesources/Textures/HighRes/s1RoomBaseColor.jpg')
const s1RoomRoughness = textureLoader.load('/Threesources/Textures/HighRes/s1RoomRoughness.jpg')
const s1RoomMetalness = textureLoader.load('/Threesources/Textures/HighRes/s1RoomMetallic.jpg')
const s1RoomNormal = textureLoader.load('/Threesources/Textures/HighRes/s1RoomNormal.jpg')
const s1RoomOpacity = textureLoader.load('/Threesources/Textures/HighRes/s1RoomOpacity.png')
// Model 1 Flip