Garry's Mod
Оценок: 2,224
Volumetric Lighting / Fog
6
4
4
2
7
5
6
4
3
2
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Эффекты
Размер файла
Добавлен
Изменён
79.647 KB
21 мар. 2024 г. в 13:57
3 июл. 2024 г. в 13:56
Обновлений: 9 (просмотреть)

Подпишитесь, чтобы загрузить
Volumetric Lighting / Fog

Описание
Volumetric Lighting
Adds a volume_cloud entity to your game. The entity can be spawned by going to
Entities->Volumetrics->Volume Cloud

Open the context menu (hold C) and right click on the effects halo to change its properties.

Please Note:
- I suggest using this with the GMod shadow setting set to High
- Turning on 'Environment Fog' makes normal point lights kind of work.. (as long as the bounding box is small)

- The volumetrics_quality console command will change the resolution of the lighting. Performance gets exponentially worse the higher the number. (If you are not an animator I suggest leaving this at 1)
1 = Low (1/64th resolution)
2 = Medium (1/16th resolution)
3 = High (1/4 resolution)
4 = Extreme (full resolution)

Recommended Addons:
CSM (Used in second image)
Advanced light entities


Originally inspired by The J

discord: https://discord.gg/xWvhfargMY

Edit (6/25/24): Please ask for permission before reuploading or republishing any of this code. Thanks
Популярные обсуждения Просмотреть все (11)
7
5 янв в 23:16
OpenGL issue (Linux issue)
Goluboch
7
24 мар. 2024 г. в 21:56
If i spawn it,the house starts to flicker, when I entered the house, the world began to flicker
KRI4
7
23 мар. 2024 г. в 23:04
Whenever I spawn the entity it forms grand pillars of light rather than working as it supposed to
bug bite craig
Комментариев: 315
Sgt.Quint 30 июл в 21:04 
Is it possible to use this in the InfMap?
FACE 23 апр в 13:47 
Can we get a convar to disable shadows? I just want enviroment fog
Binty 22 апр в 7:54 
problem solved; you're using a laptop.
ZekuistheZero 20 мар в 17:25 
What's so odd for me, is that this causes my gmod to freeze, and it never did that before, and recently (last month of February) a week before Valentines day, it began to freeze gmod, a lot. And I thought... maybe it was too much addons once more... So I removed a lot of them, (Have this still installed) and yet... It still continuously giving me issues...

And also recently; I got my laptop's RAM replaced, and here I thought this would help... (More odd; my laptop isn't old...)
An_Unknown_Player[FIN] 26 фев в 5:17 
A regular GMod light, if you don't turn on the "Environment Fog" setting.
classic gamer 25 фев в 15:07 
Is there any lights that don't cause the volumetric effect for ambient lighting.
Turtrog 20 фев в 9:10 
do i have to turn it on/spawn it in each time?
mrbanana825 15 фев в 18:48 
can you make it so it can take up the whole map?
ScoundrelRed 28 дек. 2024 г. в 3:14 
Is there a way to toggle it on and off?
An_Unknown_Player[FIN] 23 ноя. 2024 г. в 15:45 
Are you pointing a lamp towards it or have you tried enabling the "Environment Fog" setting through the context menu?