Skip to content
Snippets Groups Projects
Unverified Commit 58f6994e authored by Paramat's avatar Paramat Committed by GitHub
Browse files

Liquid sources: Backface-cull sides and base. Remove unused special tiles

Fixes most z-fighting caused by underwater nodeboxes.
Special tiles were for 'new style water' (lowered water level) which was
removed a few years ago.
parent cf0e49fb
No related branches found
No related tags found
No related merge requests found
......@@ -1944,6 +1944,7 @@ minetest.register_node("default:water_source", {
tiles = {
{
name = "default_water_source_animated.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
......@@ -1951,18 +1952,15 @@ minetest.register_node("default:water_source", {
length = 2.0,
},
},
},
special_tiles = {
-- New-style water source material (mostly unused)
{
name = "default_water_source_animated.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
backface_culling = false,
},
},
alpha = 160,
......@@ -2036,6 +2034,7 @@ minetest.register_node("default:river_water_source", {
tiles = {
{
name = "default_river_water_source_animated.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
......@@ -2043,17 +2042,15 @@ minetest.register_node("default:river_water_source", {
length = 2.0,
},
},
},
special_tiles = {
{
name = "default_river_water_source_animated.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
backface_culling = false,
},
},
alpha = 160,
......@@ -2135,6 +2132,7 @@ minetest.register_node("default:lava_source", {
tiles = {
{
name = "default_lava_source_animated.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
......@@ -2142,18 +2140,15 @@ minetest.register_node("default:lava_source", {
length = 3.0,
},
},
},
special_tiles = {
-- New-style lava source material (mostly unused)
{
name = "default_lava_source_animated.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 3.0,
},
backface_culling = false,
},
},
paramtype = "light",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment