diff options
author | Dániel Juhász <juhdanad@gmail.com> | 2017-04-21 15:34:59 +0200 |
---|---|---|
committer | Zeno- <kde.psych@gmail.com> | 2017-04-21 23:34:59 +1000 |
commit | 1ffb180868ffcec6812cd3aac8f56ffefb91c8bc (patch) | |
tree | 2b7dc1d209bda384fbd995dc7f13ffdd3587818f /src/content_mapblock.h | |
parent | 2ad74a9e8b9da48aef62346de6cd55f304c6440d (diff) | |
download | minetest-1ffb180868ffcec6812cd3aac8f56ffefb91c8bc.tar.gz minetest-1ffb180868ffcec6812cd3aac8f56ffefb91c8bc.tar.bz2 minetest-1ffb180868ffcec6812cd3aac8f56ffefb91c8bc.zip |
Soft node overlay (#5186)
This commit adds node overlays, which are tiles that are drawn on top of
other tiles.
Diffstat (limited to 'src/content_mapblock.h')
-rw-r--r-- | src/content_mapblock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_mapblock.h b/src/content_mapblock.h index c8425024f..6866a4498 100644 --- a/src/content_mapblock.h +++ b/src/content_mapblock.h @@ -60,8 +60,8 @@ public: // lighting void getSmoothLightFrame(); u16 blendLight(const v3f &vertex_pos); - video::SColor blendLight(const v3f &vertex_pos, video::SColor tile_color); - video::SColor blendLight(const v3f &vertex_pos, const v3f &vertex_normal, video::SColor tile_color); + video::SColor blendLightColor(const v3f &vertex_pos); + video::SColor blendLightColor(const v3f &vertex_pos, const v3f &vertex_normal); void useTile(int index, bool disable_backface_culling); void useDefaultTile(bool set_color = true); |