dev #84

Merged
ksenia_mikhailova merged 141 commits from dev into main 2024-10-03 15:30:24 +03:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit f022fab129 - Show all commits

View File

@ -45,6 +45,7 @@ export default defineNuxtConfig({
vite: {
assetsInclude: ['**/*.glb', '**/*.gltf'],
build: {
target: 'esnext'
// minify: 'esbuild'
// minify: false
},

View File

@ -12,7 +12,11 @@ const set_metaril_func = (scene: any, material: any) => {
})
}
// const texture = await useLoader(TextureLoader, '/fence_one/svg_tile1.svg');
const get_texture = async () => {
const texture = await useLoader(TextureLoader, '/fence_one/tile1.png');
return texture
}
const texture = await get_texture()
texture.wrapT = RepeatWrapping;
export const set_material = (scene: any, color: any, count: number | undefined = undefined) => {