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
(Not engine limit)
mNo edit summary
 
Line 3: Line 3:
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.}}
{{tip|This is a compiler limit, not an engine one, and as such, a modified VRAD can bypass it, such as {{mapbase|2|addtext='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]]

Latest 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'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.