This article's documentation is for anything that uses the Source engine. Click here for more information.

Too many lights: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{src topicon}} {{stub}} There are more than 8912 lights set to have influence over dynamic MDL lighting (MAX_MAP_WORLDLIGHTS). This is usually caused by having too many tex...")
 
(Not engine limit)
Line 2: Line 2:
{{stub}}
{{stub}}
There are more than 8912 lights set to have influence over dynamic MDL lighting (MAX_MAP_WORLDLIGHTS). This is usually caused by having too many [[texlight]]s at too low of a luxel scale.
There are more than 8912 lights set to have influence over dynamic MDL lighting (MAX_MAP_WORLDLIGHTS). This is usually caused by having too many [[texlight]]s at too low of a luxel scale.
{{tip|This is a compiler limit, not an engine one, and as such, a modified VRAD can bypass it, such as {{mapbase|2|nt='s}}. Nonetheless, having too many lights in the worldlights lump will have negative consequences to performance, so a custom compiler wishing to bypass this limitation should provide a method to have lights that affect baked lighting, but aren't added to the worldlights lump.}}
[[Category:Compile errors]]
[[Category:Compile errors]]

Revision as of 10:44, 20 August 2024

Stub

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

There are more than 8912 lights set to have influence over dynamic MDL lighting (MAX_MAP_WORLDLIGHTS). This is usually caused by having too many texlights at too low of a luxel scale.

Tip.pngTip:This is a compiler limit, not an engine one, and as such, a modified VRAD can bypass it, such as Mapbase Mapbase. Nonetheless, having too many lights in the worldlights lump will have negative consequences to performance, so a custom compiler wishing to bypass this limitation should provide a method to have lights that affect baked lighting, but aren't added to the worldlights lump.