Velaron / cs16-client

Other
82 stars 19 forks source link

Fog support with env_fog #13

Closed 0x4E69676874466F78 closed 1 year ago

0x4E69676874466F78 commented 1 year ago

Карта для теста: test_fog_cs.zip (env_fog)

Должно быть примерно так: image

Velaron commented 1 year ago

Thanks for the map, coming with next update image

Velaron commented 1 year ago

On second thought, density seems wrong

Velaron commented 1 year ago

Start and end positions seem to be hardcoded as 100 and 2000, so that's probably OK, but I'm just asking to be sure

0x4E69676874466F78 commented 1 year ago

Забыл приложить wad файл.

On second thought, density seems wrong Start and end positions seem to be hardcoded as 100 and 2000, so that's probably OK, but I'm just asking to be sure

Проверил на актуальной стимовской контре, точно так же как у меня на скрине выше. image

Так что это либо проблема в рендере тумана в ксаше либо надо что-то ещё подкрутить.

0x4E69676874466F78 commented 1 year ago

Ты ведь туман реализуешь через (*FogParams)( float flDensity, int iFogSkybox ); ?

Velaron commented 1 year ago

да, FogParams + Fog, буду дальше тыкать тогда

Velaron commented 1 year ago

https://github.com/FWGS/xash3d-fwgs/issues/1188 Подозреваю связано с этим?

Velaron commented 1 year ago

Проверил, так и есть.

Velaron commented 1 year ago

На этот раз точно готово

0x4E69676874466F78 commented 1 year ago

Класс.