From c9f617f1cc73792c04c70441c303a25cd101277c Mon Sep 17 00:00:00 2001 From: thejinchao Date: Sat, 6 Dec 2025 16:14:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=BC=BA=E7=9C=81=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=85=89=E7=85=A7=E4=BA=AE=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/console/ui/ui_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/console/ui/ui_main.cpp b/source/console/ui/ui_main.cpp index 0459c36..683eb38 100644 --- a/source/console/ui/ui_main.cpp +++ b/source/console/ui/ui_main.cpp @@ -134,6 +134,8 @@ void drawMainUI() uniformBuffer.updateStandardAttribute(g_scene); //find Light node + uniformBuffer.setAttribute("ambient_light:color", davinci::fVector3(0.1f, 0.1f, 0.1f)); + davinci::SceneNodeConstPtr lightNode = g_scene.getNodeWithComponent(); if (lightNode) {