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] Fog doesn't hide the skybox at all #425

Closed HowaitoHaato closed 8 months ago

HowaitoHaato commented 8 months ago

Tried out the new version, and now the fog works, but sadly it doesn't seem to work properly, as it doesn't seem to hide the skybox at all, making it look really ugly.

20240318175826_1

hzqst commented 8 months ago

You can enable sky fog by r_wsurf_sky_fog 1

HowaitoHaato commented 8 months ago

Alright, thanks, that solves that issue. But now I'm having another issue, not sure if it's related to this or not, should I create another thread for it so you can better keep track of it? But it seems that in maps that have no fog, the screen goes black except for my weapon and some sprites. Here's an example of it on Stadium4

20240319015347_1

The restriction maps with fog work fine, but the moment I step into any map without fog, it looks like that. Happens with both r_wsurf_sky_fog either at 0 or at 1

hzqst commented 8 months ago

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

HowaitoHaato commented 8 months ago

Thanks. No more issues with fog from what I tried so far.