forked from thunderdog1138/star_wars
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.
This commit is contained in:
parent
cf0e49fb4a
commit
58f6994e08
|
@ -1944,6 +1944,7 @@ minetest.register_node("default:water_source", {
|
||||||
tiles = {
|
tiles = {
|
||||||
{
|
{
|
||||||
name = "default_water_source_animated.png",
|
name = "default_water_source_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
|
@ -1951,18 +1952,15 @@ minetest.register_node("default:water_source", {
|
||||||
length = 2.0,
|
length = 2.0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
special_tiles = {
|
|
||||||
-- New-style water source material (mostly unused)
|
|
||||||
{
|
{
|
||||||
name = "default_water_source_animated.png",
|
name = "default_water_source_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
aspect_h = 16,
|
aspect_h = 16,
|
||||||
length = 2.0,
|
length = 2.0,
|
||||||
},
|
},
|
||||||
backface_culling = false,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
alpha = 160,
|
alpha = 160,
|
||||||
|
@ -2036,6 +2034,7 @@ minetest.register_node("default:river_water_source", {
|
||||||
tiles = {
|
tiles = {
|
||||||
{
|
{
|
||||||
name = "default_river_water_source_animated.png",
|
name = "default_river_water_source_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
|
@ -2043,17 +2042,15 @@ minetest.register_node("default:river_water_source", {
|
||||||
length = 2.0,
|
length = 2.0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
special_tiles = {
|
|
||||||
{
|
{
|
||||||
name = "default_river_water_source_animated.png",
|
name = "default_river_water_source_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
aspect_h = 16,
|
aspect_h = 16,
|
||||||
length = 2.0,
|
length = 2.0,
|
||||||
},
|
},
|
||||||
backface_culling = false,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
alpha = 160,
|
alpha = 160,
|
||||||
|
@ -2135,6 +2132,7 @@ minetest.register_node("default:lava_source", {
|
||||||
tiles = {
|
tiles = {
|
||||||
{
|
{
|
||||||
name = "default_lava_source_animated.png",
|
name = "default_lava_source_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
|
@ -2142,18 +2140,15 @@ minetest.register_node("default:lava_source", {
|
||||||
length = 3.0,
|
length = 3.0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
special_tiles = {
|
|
||||||
-- New-style lava source material (mostly unused)
|
|
||||||
{
|
{
|
||||||
name = "default_lava_source_animated.png",
|
name = "default_lava_source_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
aspect_h = 16,
|
aspect_h = 16,
|
||||||
length = 3.0,
|
length = 3.0,
|
||||||
},
|
},
|
||||||
backface_culling = false,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
|
Loading…
Reference in New Issue