This commit is contained in:
syuilo 2026-06-09 11:40:35 +09:00
commit 60db0a6bbd
4 changed files with 11 additions and 0 deletions

View file

@ -261,6 +261,8 @@ export class SimpleEnvManager extends EnvManager<SimpleEnvOptions> {
if (texPath != null) {
const tex = new BABYLON.Texture(texPath, this.engine.scene, false, false);
tex.wrapU = BABYLON.Texture.WRAP_ADDRESSMODE;
tex.wrapV = BABYLON.Texture.WRAP_ADDRESSMODE;
targetMaterial.albedoTexture = tex;
} else {
targetMaterial.albedoTexture = null;

View file

@ -6,6 +6,15 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div :class="$style.root">
<div class="_gaps">
<MkSelect
:items="[
{ label: '腰高窓', value: 'kosidakamado' },
{ label: '出窓', value: 'demado' },
]" :modelValue="options.window" @update:modelValue="v => { update({ window: v }); }"
>
<template #label>window</template>
</MkSelect>
<MkFolder>
<template #label>Walls</template>