elight

From Valve Developer Community
Jump to navigation Jump to search

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