mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
disable tiling of textures only if smooth lighting is used
This commit is contained in:
parent
b21c7de3ed
commit
79799840a2
1 changed files with 6 additions and 1 deletions
|
@ -468,7 +468,12 @@ void updateFastFaceRow(
|
||||||
end_of_texture = true;
|
end_of_texture = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
end_of_texture = true; //DEBUG
|
// Do this to disable tiling textures
|
||||||
|
//end_of_texture = true; //DEBUG
|
||||||
|
|
||||||
|
// Disable tiling of textures if smooth lighting is used
|
||||||
|
if(smooth_lighting)
|
||||||
|
end_of_texture = true;
|
||||||
|
|
||||||
if(next_is_different || end_of_texture)
|
if(next_is_different || end_of_texture)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue