Template:KV BmNewLightBase: Difference between revisions
Jump to navigation
Jump to search
Note:With 0 it will make the light disabled (including the effects).
Warning:This is one of the parameters that affects performance in the game. Smaller values allow you to process less geometry and save performance.
Note:Shadows from objects that are at a great distance look noticeably worse than shadows from objects that are near to the light source.
Important:Range is limited, the limit depends on intensity value. Do not use values bigger than the intensity value allows.
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
--> | --> | ||
{{KV|Light Color|intn=LightColor|color255|The RGB color of the light. Colors must be between 0 and 255.}} | {{KV|Light Color|intn=LightColor|color255|The RGB color of the light. Colors must be between 0 and 255.}} | ||
{{KV|Light Intensity|intn=Intensity|float|Intensity/brightness of the light. It's RGB * intensity. | {{KV|Light Intensity|intn=Intensity|float|Intensity/brightness of the light. It's RGB * intensity. | ||
{{Note|With 0 it will make the light disabled (including the effects).}} | |||
{{KV|Range|intn=Range|float|Range of the light, or how far the light source can illuminate. Measured in Hammer Units. | }} | ||
{{KV|Range|intn=Range|float|Range of the light, or how far the light source can illuminate. Measured in Hammer Units. | |||
{{warning|This is one of the parameters that affects performance in the game. Smaller values allow you to process less geometry and save performance.}} | |||
{{note|Shadows from objects that are at a great distance look noticeably worse than shadows from objects that are near to the light source.}} | |||
{{important|Range is limited, the limit depends on intensity value. Do not use values bigger than the intensity value allows.}} | |||
{{expand|margin_left=2em|title=Examples| | {{expand|margin_left=2em|title=Examples| | ||
<gallery mode=packed heights=280px> | |||
<gallery mode=packed heights= | File:range50.jpg| thumb | left | 510px | Range - 50 | ||
File: | File:range1000.jpg| thumb | left | 510px | Range - 1000 | ||
File: | File:range15000.jpg| thumb | left | 510px | Range - 15000 | ||
File: | |||
</gallery> | </gallery> | ||
}} | |||
}} | }} |
Revision as of 04:48, 17 January 2025
- Light Color (LightColor) <color255>
- The RGB color of the light. Colors must be between 0 and 255.
- Light Intensity (Intensity) <float>
- Intensity/brightness of the light. It's RGB * intensity.

- Range (Range) <float>
- Range of the light, or how far the light source can illuminate. Measured in Hammer Units.



|