Garry's Mod

Garry's Mod

Dynamic Volumetric Fog
Tiny Desk Engineer 2024 年 12 月 10 日 下午 8:56
Game halts upon opening configuration menu
With no other addons installed outside of this addon's dependency, when the configuration panel is opened, the game freezes indefinitely with the following lua error:
[Volumetric Lighting / Fog] lua/entities/volume_cloud.lua:54: called mesh.Begin with a primitive count which results in too many vertices (1228824, maximum=32768)
1. Begin - [C]:-1
2. RegenerateMesh - lua/entities/volume_cloud.lua:54
3. unknown - lua/entities/volume_cloud.lua:38
4. CallProxies - lua/includes/extensions/entity.lua:352
5. Setsubdivisions - lua/includes/extensions/entity.lua:380
6. DynamicVolumetricsInit - lua/autorun/client/cl_dynamic_volumetrics.lua:21
7. OnChange - lua/autorun/client/cl_dynamic_volumetrics.lua:118
8. OnChange - lua/vgui/dcheckbox.lua:87
9. SetValue - lua/vgui/dcheckbox.lua:31
10. ConVarStringThink - lua/derma/init.lua:102
11. unknown - lua/vgui/dcheckbox.lua:59
< >
正在显示第 1 - 7 条,共 7 条留言
Tiny Desk Engineer 2024 年 12 月 12 日 下午 12:49 
Sometimes it only freezes when the main menu is opened after the error occurs, but otherwise the error is identical. It also happens on both the 32 and 64 bit versions of the game.
Tiny Desk Engineer 2024 年 12 月 12 日 下午 1:07 
And sometimes it doesn't even freeze at all. The error remains mostly consistent, though, and no volumetric fog appears.
Mikey  [开发者] 2024 年 12 月 12 日 下午 4:12 
It looks like you set the subdivisions too high somehow.
Mikey  [开发者] 2024 年 12 月 12 日 下午 4:15 
How the ♥♥♥♥ did that manage to happen??
Mikey  [开发者] 2024 年 12 月 12 日 下午 4:16 
I'm looking in the code rn and I've set clear mins and maxes for that.
Mikey  [开发者] 2024 年 12 月 12 日 下午 4:17 
I will try something stupid.
Mikey  [开发者] 2024 年 12 月 12 日 下午 4:20 
ah, looks like I forgot to set limits on the ConVars themselves. The gui had limits but the convars didn't have any.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50