User Tools

Site Tools


4rpl:commands:getthemetexturelight

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.txt · Last modified: 2021/01/24 14:19 by Sanian