4rpl:commands:getthemetexturelight

This is an old revision of the document!


Index

GetThemeTextureLight

GetThemeTextureLight(<-terrainLevel) ->blue ->green ->red

Description

Gets the current theme's light color for the specified level. Terrain levels range from 1 to 20. Three values; red/green/blue are returned. Each is a floating point number where 1 is full brightness and 0 is minimal brightness. The texture light gets multiplied with the texture color at each pixel to determine the final color to show on the screen. So a color of [1,1,1] will leave the texture unaltered.

Examples

trace3(GetThemeTextureLight(1))

Index

4rpl/commands/getthemetexturelight.1611515975.txt.gz · Last modified: 2025/02/14 14:56 (external edit)