Info dlightmap update: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Replaced the heavy gif with two pictures.)
Line 2: Line 2:


Used for optimization, although now considered obsolete as all switchable lights have been replaced with [[NewLight Point|new lights]] to reduce map size and to make load times better.
Used for optimization, although now considered obsolete as all switchable lights have been replaced with [[NewLight Point|new lights]] to reduce map size and to make load times better.
{{important|This entity prevents {{ent|light_dynamic}} from updating on [[lightmap]] as well.}}
{{back |Black Mesa Level Creation}}
{{back |Black Mesa Level Creation}}


[[File:info_dlightmap_update.gif|none|center]]
<br>
<gallery mode=packed heights=410px>
File:idlu1.jpg| thumb | left | 510px |When this entity is enabled and you toggle lights.
File:idlu2.jpg| thumb | left | 510px |When this entity is disabled and you toggle lights.
</gallery>


== Keyvalues ==
== Keyvalues ==

Revision as of 04:36, 23 June 2024

Info target.png

info_dlightmap_update is a point entity available in Black Mesa Black Mesa. This entity allows or disallows lightmap to be changed while baked lights toggling. If enabled - lightmap can be changed. If disabled - lightmap doesn't change, although models still shows lighting changes. For example, if this entity enabled and you turn on/off light_spot, you can see how it turning on/off, but if this entity disabled - you will not see any changes when you turn on/off light_spot (with exception of models lighting).

Used for optimization, although now considered obsolete as all switchable lights have been replaced with new lights to reduce map size and to make load times better.

Icon-Important.pngImportant:This entity prevents light_dynamic from updating on lightmap as well.
Black Mesa Level Creation


Keyvalues

Inputs

Enable <void>
Allows lightmap to be changed.
Disable <void>
Disallows lightmap to be changed.


Outputs