3.5.2 bug 原生包动态修改环境光无效

  • Creator 版本:3.5.2

  • 目标平台:iOS / Android 原生环境

浏览器下正常
原生环境都不生效
director.getScene().globals.ambient.skyLightingColor = color(255, 255, 255);
director.getScene().globals.ambient.skyIllum = 30000;
director.getScene().globals.ambient.groundLightingColor = color(182, 205, 255);

简单测试有效,显示 web 和 原生上效果一样,不生效是怎样的?

编辑器上设置的环境光 环境光强度比较高

动态调小环境光强度
director.getScene().globals.ambient.skyIllum = 30000;

原生环境下,还是亮的

我测试是 web 和安卓效果一样,
测试demo: NewProject_10.zip (56.6 KB)