feat(falukant): add sunny meadow house backdrop
Some checks failed
Deploy to production / deploy (push) Has been cancelled
Some checks failed
Deploy to production / deploy (push) Has been cancelled
This commit is contained in:
@@ -74,9 +74,9 @@ export default {
|
||||
const runtime = await import('@/utils/threeRuntime.js');
|
||||
if (!this.isVisible || !this.$refs.container || this.renderer) return;
|
||||
this.scene = markRaw(new runtime.Scene());
|
||||
this.scene.background = new runtime.Color(0xf7f1e6);
|
||||
this.camera = markRaw(new runtime.PerspectiveCamera(36, 1, 0.1, 100));
|
||||
this.renderer = markRaw(new runtime.WebGLRenderer({ antialias: true, alpha: false }));
|
||||
this.renderer = markRaw(new runtime.WebGLRenderer({ antialias: true, alpha: true }));
|
||||
this.renderer.setClearColor(0x000000, 0);
|
||||
this.renderer.setPixelRatio(Math.min(window.devicePixelRatio || 1, 2));
|
||||
container.appendChild(this.renderer.domElement);
|
||||
|
||||
@@ -195,7 +195,7 @@ export default {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: inherit;
|
||||
background: #f7f1e6;
|
||||
background: #8ed0f5 url('/images/falukant/backgrounds/house-sunny-meadow.png') center / cover no-repeat;
|
||||
}
|
||||
|
||||
.house-3d__unavailable {
|
||||
|
||||
Reference in New Issue
Block a user