// 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);
- TileSpec getTile(const v3s16 &direction);
+ void getTile(const v3s16 &direction, TileSpec &tile);
// face drawing
void drawQuad(v3f *vertices, const v3s16 &normal = v3s16(0, 0, 0));