User Tools

Site Tools


4rpl:commands:setthemeclifflightboost

Index

SetThemeCliffLightBoost

SetThemeCliffLightBoost(<-lightBoost)

Description

Sets the current theme's cliff light boost. The light boost is a number that gets multiplied with the light color before the light is applied to the texture. The default value for the boost is 1, so it makes no changes to the color. When the value is set to 2 (what the theme editor sets the value to when '2X intensity' is checked), the light color gets doubled. The resulting light, when multiplied with the texture, can produce a resulting color that is brighther than the SDR color range. If the game has the bloom effect enabled, the resulting texture will appear to glow at any pixels whose resulting color is greater than '1'. Values can be any floating point value, but values of 1 and 2 are most common and what the theme editor in the game works with.

Examples

SetThemeCliffLightBoost(2)

Index

4rpl/commands/setthemeclifflightboost.txt · Last modified: 2021/01/24 14:27 by Sanian