From 529f50a4dbbb54d9222381c1581d5c2b818ac233 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Wed, 1 May 2024 13:50:47 +0200 Subject: [PATCH] Add rendertype_entity_solid (used by beds) --- src/components/model-viewer/shaderInfo.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/model-viewer/shaderInfo.ts b/src/components/model-viewer/shaderInfo.ts index 5c5d3eb..099765f 100644 --- a/src/components/model-viewer/shaderInfo.ts +++ b/src/components/model-viewer/shaderInfo.ts @@ -53,6 +53,12 @@ const shaderInfos: Record = { vertexColor: true, textured: true, }, + rendertype_entity_solid: { + lighting: "diffuse", + alphaTest: null, + vertexColor: true, + textured: true, + }, rendertype_entity_cutout: { lighting: "diffuse", alphaTest: 0.1,