diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-15 14:43:15 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:43 +0200 |
commit | cf6e22e9a690c5654a3d4edf7365e1d1115083b1 (patch) | |
tree | 806e76f630dc7590bbbf7540a0d258b57f49ae64 /src/content_mapblock.cpp | |
parent | c1202a2ecca352d5491364877fbe11e509cda8d3 (diff) | |
download | minetest-cf6e22e9a690c5654a3d4edf7365e1d1115083b1.tar.gz minetest-cf6e22e9a690c5654a3d4edf7365e1d1115083b1.tar.bz2 minetest-cf6e22e9a690c5654a3d4edf7365e1d1115083b1.zip |
Better node texture generation
Diffstat (limited to 'src/content_mapblock.cpp')
-rw-r--r-- | src/content_mapblock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index ff6215a54..7ce4f2df4 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -391,7 +391,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data, else l = decode_light(n.getLightBlend(data->m_daynight_ratio, nodedef)); video::SColor c = MapBlock_LightColor( - nodedef->get(n).vertex_alpha, l); + nodedef->get(n).alpha, l); // Neighbor liquid levels (key = relative position) // Includes current node @@ -678,7 +678,7 @@ void mapblock_mesh_generate_special(MeshMakeData *data, u8 l = decode_light(n.getLightBlend(data->m_daynight_ratio, nodedef)); video::SColor c = MapBlock_LightColor( - nodedef->get(n).vertex_alpha, l); + nodedef->get(n).alpha, l); video::S3DVertex vertices[4] = { |