hzqst / MetaHookSv

MetaHook (https://github.com/nagist/metahook) porting for SvEngine (GoldSrc engine modified by Sven-Coop)
MIT License
149 stars 38 forks source link

[Renderer]No skybox when playing some of third-party maps #421

Closed ebrontower closed 8 months ago

ebrontower commented 8 months ago

JM_alaska0019 As it shows there should be a skybox like that one in de_dust2 but it turns totally dark when Renderer.dll activated

hzqst commented 8 months ago

所以你不把地图发出来我怎么复现问题呢?

rbar1um43 commented 8 months ago

Found that map https://gamebanana.com/mods/360136

hzqst commented 8 months ago

Found that map https://gamebanana.com/mods/360136

换了两个显卡(N卡和A卡)和两个游戏版本(8684和9920)都完全无法复现。

image

屏幕截图 2024-03-17 234807
di57inct commented 8 months ago

As it shows there should be a skybox like that one in de_dust2

Not really

SKY: snowrt, snowbk, snowlf, snowft, snowup, snowdn

Also works fine for me but i'm using previous version right now.

] mh_pluginlist 
|index|api|             plugin name|          plugin version|
|    0| v2|   Gmcx_model_effect.dll|                        |
|    1| v4|         ThreadGuard.dll|     2024-02-27T03:45:43|
|    2| v4|     PrecacheManager.dll|     2024-02-27T03:44:50|
|    3| v4|        StudioEvents.dll|     2024-02-27T03:45:40|
|    4| v4|  BulletPhysics_AVX2.dll|     2024-02-27T03:43:56|
|    5| v4|       Renderer_AVX2.dll|     2024-02-27T03:40:29|
|    6| v4|          CaptionMod.dll|     2024-02-27T03:44:26|
|    7| v4|      VGUI2Extension.dll|     2024-02-27T03:44:03|

The map has some issues when being started via HLDS though: image

hzqst commented 8 months ago

ok找到问题了,那个整合包的作者把env/gfx/snow**.tga给删了导致那张图加载不到正确的天空贴图,原版引擎默认在找不到天空贴图的情况下会fallback到desert**.tga/desert**.bmp,而Renderer不会。

image

Fixed in https://github.com/hzqst/MetaHookSv/releases/tag/v20240318b