Volumetric lighting

From Valve Developer Community
Revision as of 13:18, 16 January 2024 by NOUG4AT (talk | contribs) (__NOTOC__ on main page pls)
Jump to navigation Jump to search
English (en)Translate (Translate)

Volumetric lighting, also known shorthand as "God rays", is a lighting technique meant to simulate light bouncing off fog or dust particles in the air, such as a warehouse or foggy beach. It makes the player see beams of light shining from the sun or other light sources. Currently, the only Valve Valve-made software running on Source Source that supports Volumetric Lighting is Source Filmmaker Source Filmmaker, however some third-party engines incorporate volumetric lighting into env_projectedtexture. If the game you are making maps for doesn't support volumetric lighting, you can use some workarounds seen here.

Most versions of Source 2 Source 2 have support for Volumetric lighting by default

Media

Volumetric lighting in Source Filmmaker
Volumetric lighting in Alien Swarm Deferred
Volumetric lighting in Half Life Alyx

Native Support

Source Source

Game Supports
Source 2004 Source 2004
Source 2006 Source 2006
Source 2007 Source 2007
Source 2009 Source 2009/Source Multiplayer Source Multiplayer
Source 2013 Source 2013
Half-Life: Source Half-Life: Source
Day of Defeat: Source Day of Defeat: Source
Half-Life 2 Half-Life 2
Half-Life 2: Episode One Half-Life 2: Episode One
Half-Life 2: Episode Two Half-Life 2: Episode Two
Alien Swarm Alien Swarm
Alien Swarm: Reactive Drop Alien Swarm: Reactive Drop
Half-Life Deathmatch: Source Half-Life Deathmatch: Source
Half-Life 2: Deathmatch Half-Life 2: Deathmatch
Half-Life 2: Lost Coast Half-Life 2: Lost Coast
Counter-Strike: Source Counter-Strike: Source
Team Fortress 2 Team Fortress 2
Portal Portal
Left 4 Dead Left 4 Dead
Left 4 Dead 2 Left 4 Dead 2
Portal 2 Portal 2
NO
Black Mesa Black Mesa YES
Alien Swarm Deferred Alien Swarm Deferred YES
Source Filmmaker Source Filmmaker YES (env_projectedtexture)
Strata Source Strata Source YES (env_projectedtexture)
Apex Legends Apex Legends YES

Source 2 Source 2

Game Supports
Half-Life: Alyx Half-Life: Alyx YES
Counter-Strike 2 Counter-Strike 2 YES

Using models/textures to fake volumetric lighting

Using vollight_stainedglass.mdl
Model in Hammer
Model in engine

See also

External links

Wikipedia icon Volumetric lighting