Elight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{stub}}{{DISPLAYTITLE:elight}} A dynamic light on an MDL. == See also == * dlight * light_dynamic Category:Glossary")
 
No edit summary
 
Line 1: Line 1:
{{stub}}{{DISPLAYTITLE:elight}}
{{stub}}{{DISPLAYTITLE:elight}}
A dynamic light on an [[MDL]].
A dynamic light on an [[MDL]].
Games such as {{hl1|2}} create temporary elights at an [[$attachment]] on gun models to create muzzle flashes.
In {{Source|2}}, all {{ent|light}} and {{ent|light_spot}} entities cast elights unless a custom VRAD is used. This can cause lighting issues on playermodels and viewmodels when "fake" light sources are used to fix areas that are too dark when lit realistically.
{{todo|elights in code}}


== See also ==
== See also ==
* [[dlight]]
* [[dlight]], the equivalent for brushes
* [[light_dynamic]]
* [[light_dynamic]]


[[Category:Glossary]]
[[Category:Glossary]]

Latest revision as of 11:00, 16 April 2025

Stub

This article or section is a stub. You can help by expanding it.

A dynamic light on an MDL.

Games such as Half-Life Half-Life create temporary elights at an $attachment on gun models to create muzzle flashes.

In Source Source, all light and light_spot entities cast elights unless a custom VRAD is used. This can cause lighting issues on playermodels and viewmodels when "fake" light sources are used to fix areas that are too dark when lit realistically.

Todo: elights in code

See also