Integrate mossy cavern stage scene

This commit is contained in:
2026-06-10 02:21:44 +08:00
parent dddae61bd9
commit 7d0f115fcb
12 changed files with 71 additions and 36 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ void StageRenderer::drawLayer(const LevelDefinition& level,
rect.bounds.top() + parallaxOffset.y,
rect.bounds.width(), rect.bounds.height());
drawStageRect(rect, bounds);
if (layer.role == StageLayerRole::LevelVisual) {
if (layer.role == StageLayerRole::LevelVisual && !rect.source.hasTexture()) {
drawRect(frostbite2D::Rect(bounds.left(), bounds.top(), bounds.width(),
4.0f),
frostbite2D::Color(0.91f, 0.95f, 0.98f, 1.0f));