fix: 怪物手册的键盘操作滚动

This commit is contained in:
AncTe committed 2024-05-01 14:04:52 +08:00
1 parent 471b3071f9
commit 23375f03f1
8 files changed
+91 -54

No files matched your search

+1 -1
View File
@@ -205,7 +205,7 @@ void main() {
if (sheltered > 0.5 && d.z < 0.5) strength = 0.0; // 遮挡逻辑
strengthTotal += strength; // 累计强度
lightColor = mix(lightColor, vec4(c.rgb, c.a * strength), strength); // 混合光源颜色
lightColor = mix(lightColor, vec4(c.rgb, c.a), strength); // 混合光源颜色
}
if (strengthTotal > 1.0) strengthTotal = 1.0;