mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-25 12:05:19 +02:00
wip
This commit is contained in:
@@ -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;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user