diff options
author | Rob Blanckaert <rob@withpiper.com> | 2017-09-01 23:12:15 -0700 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-09-14 04:06:05 +0100 |
commit | a9d43a04713dd0342d675f3bbb5cbacd863b4118 (patch) | |
tree | dde4ca88964a67c1a27211eca6f6fcf96fc246d0 /doc | |
parent | 604fe2083d70fea92b6c53c9a9d1c1ffdcb36610 (diff) | |
download | minetest-a9d43a04713dd0342d675f3bbb5cbacd863b4118.tar.gz minetest-a9d43a04713dd0342d675f3bbb5cbacd863b4118.tar.bz2 minetest-a9d43a04713dd0342d675f3bbb5cbacd863b4118.zip |
Object properties: Add 'glow', disables light's effect if negative
The 'glow' value is added to the ambient light value.
Negative 'glow' disables light's effect on object colour, for faking
self-lighting, UI-style entities, or programmatic colouring in mods.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3c2278c8d..eac6f6697 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -4131,6 +4131,10 @@ Definition tables -- ^ Limit automatic rotation to this value in degrees per second, -- value < 0 no limit. backface_culling = true, -- false to disable backface_culling for model + glow = 0, + -- ^ Add this much extra lighting when calculating texture color. + value < 0 disables light's effect on texture color. + For faking self-lighting, UI style entities, or programmatic coloring in mods. nametag = "", -- by default empty, for players their name is shown if empty nametag_color = <color>, -- sets color of nametag as ColorSpec infotext = "", -- by default empty, text to be shown when pointed at object |