mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-13 09:44:30 +08:00
fix: 怪物手册的键盘操作滚动
This commit is contained in:
1 parent
471b3071f9
commit
23375f03f1
8 files changed
+91
-54
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user