mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
07f17820b3
commit
60db0a6bbd
4 changed files with 11 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue