[SOLVED] Liquid Rendering Issue

Post Reply
mscubesoverhere
New member
Posts: 8
Joined: Mon Sep 01, 2025 22:22

[SOLVED] Liquid Rendering Issue

by mscubesoverhere » Post

Hello again everyone, I am having trouble getting flowing liquid nodes to render properly.

Code: Select all

core.register_node('mossworld:sludge_source', {
    description = 'Sludge',
    drawtype = "liquid",
    tiles = { 'mossworld_sludge.png' },
    special_tiles = {
	    {
			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
		},
	},
    groups = { oddly_breakable_by_hand = 3 },
    is_ground_content = false,
    walkable = false,
    pointable = false,
    drop = "",
    paramtype = "light",
    liquid_viscocity = 7,
    liquidtype = "source",
    liquid_range = 2,
    liquid_move_physics = true,
    drowning = 1,
    waving = 3,
    groups = {sludge = 3, liquid = 2},
    post_effect_color = {a = 200,"#5d4336"},
    liquid_alternative_flowing = "mossworld:sludge_flowing",
	liquid_alternative_source = "mossworld:sludge_source"
})
core.register_node('mossworld:sludge_flowing', {
    description = 'Sludge',
    drawtype = "flowingliquid",
    tiles = { 'mossworld_sludge.png' },
        special_tiles = {
	    {
			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			}
		},
	},
    groups = { oddly_breakable_by_hand = 3 },
    is_ground_content = false,
    walkable = false,
    pointable = false,
    drop = "",
    liquid_viscocity = 7,
    liquidtype = "flowing",
    liquid_range = 2,
    paramtype2 = "flowingliquid",
    liquid_move_physics = true,
    drowning = 1,
    waving = 3,
    groups = {sludge = 3, liquid = 2},
    post_effect_color = {a = 200,"#5d4336"},
    liquid_alternative_flowing = "mossworld:sludge_flowing",
	liquid_alternative_source = "mossworld:sludge_source"
})
I am not sure what is causing this, especially as it does show the animated textures, as the image below demonstrates.
Attachments
Screenshot_2026-04-15_17-35-01.png
Screenshot_2026-04-15_17-35-01.png (153.66 KiB) Viewed 387 times
Last edited by mscubesoverhere on Thu May 07, 2026 16:16, edited 1 time in total.

User avatar
Nininik
Member
Posts: 955
Joined: Thu Apr 06, 2023 01:55
GitHub: nininik0
IRC: nininik
In-game: nininik
Location: CA, Team thunderstrike headquarters
Contact:

Re: Liquid Rendering Issue

by Nininik » Post

The same issue happened to me they answered it here viewtopic.php?t=30288&hilit=corium
↯Glory to Team Thunderstrike!↯
↯T.T.S.↯

mscubesoverhere
New member
Posts: 8
Joined: Mon Sep 01, 2025 22:22

Re: Liquid Rendering Issue

by mscubesoverhere » Post

Thank you for the response. I tried adding more lines for the special tiles table, and that did not appear to change anything.

Code: Select all

core.register_node('mossworld:sludge_source', {
    description = 'Sludge',
    drawtype = "liquid",
    tiles = { 'mossworld_sludge.png' },
    special_tiles = {
	    {
			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
		},
	},
    groups = { oddly_breakable_by_hand = 3 },
    is_ground_content = false,
    walkable = false,
    pointable = false,
    drop = "",
    paramtype = "light",
    liquid_viscocity = 7,
    liquidtype = "source",
    liquid_range = 2,
    liquid_move_physics = true,
    drowning = 1,
    waving = 3,
    groups = {sludge = 3, liquid = 2},
    post_effect_color = {a = 200,"#5d4336"},
    liquid_alternative_flowing = "mossworld:sludge_flowing",
	liquid_alternative_source = "mossworld:sludge_source"
})
core.register_node('mossworld:sludge_flowing', {
    description = 'Sludge',
    drawtype = "flowingliquid",
    tiles = { 'mossworld_sludge.png''},
        special_tiles = {
	    {
			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			}
		},
	},
    groups = { oddly_breakable_by_hand = 3 },
    is_ground_content = false,
    walkable = false,
    pointable = false,
    drop = "",
    liquid_viscocity = 7,
    liquidtype = "flowing",
    liquid_range = 2,
    paramtype2 = "flowingliquid",
    liquid_move_physics = true,
    drowning = 1,
    waving = 3,
    groups = {sludge = 3, liquid = 2},
    post_effect_color = {a = 200,"#5d4336"},
    liquid_alternative_flowing = "mossworld:sludge_flowing",
	liquid_alternative_source = "mossworld:sludge_source"
})

L-Dog
Member
Posts: 533
Joined: Sat Jun 19, 2021 12:49
GitHub: N-nec
In-game: L-Dog

Re: Liquid Rendering Issue

by L-Dog » Post

mscubesoverhere wrote:
Wed Apr 15, 2026 23:42
Thank you for the response. I tried adding more lines for the special tiles table, and that did not appear to change anything.

Code: Select all

core.register_node('mossworld:sludge_source', {
    description = 'Sludge',
    drawtype = "liquid",
    tiles = { 'mossworld_sludge.png' },
    special_tiles = {
	    {
			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
            name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.0,
			},
		},
	},
    groups = { oddly_breakable_by_hand = 3 },
    is_ground_content = false,
    walkable = false,
    pointable = false,
    drop = "",
    paramtype = "light",
    liquid_viscocity = 7,
    liquidtype = "source",
    liquid_range = 2,
    liquid_move_physics = true,
    drowning = 1,
    waving = 3,
    groups = {sludge = 3, liquid = 2},
    post_effect_color = {a = 200,"#5d4336"},
    liquid_alternative_flowing = "mossworld:sludge_flowing",
	liquid_alternative_source = "mossworld:sludge_source"
})
core.register_node('mossworld:sludge_flowing', {
    description = 'Sludge',
    drawtype = "flowingliquid",
    tiles = { 'mossworld_sludge.png''},
        special_tiles = {
	    {
			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
            			name = "mossworld_sludge_source_animated.png",
			backface_culling = false,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			},
			name = "mossworld_sludge_source_animated.png",
			backface_culling = true,
			animation = {
				type = "vertical_frames",
				aspect_w = 16,
				aspect_h = 16,
				length = 3.3,
			}
		},
	},
    groups = { oddly_breakable_by_hand = 3 },
    is_ground_content = false,
    walkable = false,
    pointable = false,
    drop = "",
    liquid_viscocity = 7,
    liquidtype = "flowing",
    liquid_range = 2,
    paramtype2 = "flowingliquid",
    liquid_move_physics = true,
    drowning = 1,
    waving = 3,
    groups = {sludge = 3, liquid = 2},
    post_effect_color = {a = 200,"#5d4336"},
    liquid_alternative_flowing = "mossworld:sludge_flowing",
	liquid_alternative_source = "mossworld:sludge_source"
})

yo bro..

Heres an extract from my Liquids Mod, its animated.

Code: Select all

minetest.register_node("liquids:blood", {
        description = ("Blood"),
        drawtype = "liquid",
        waving = 3,
        tiles = {
                {
                        name = "default_blood_flowing_animated.png",
                        backface_culling = false,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 5.0,
                        },
                },
                {
                        name = "default_blood_flowing_animated.png",
                        backface_culling = true,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 5.0,
                        },
                },
        },
        use_texture_alpha = "blend",
        paramtype = "light",
        walkable = false,
        pointable = false,
        diggable = false,
        buildable_to = true,
        is_ground_content = false,
        drop = "",
        drowning = 1,
        liquidtype = "source",
        liquid_alternative_flowing = "liquids:blood_flowing",
        liquid_alternative_source = "liquids:blood",
        liquid_viscosity = 1,
        post_effect_color = {a = 120, r = 145, g = 20, b = 20},
        groups = {water = 3, liquid = 3, cools_lava = 1},
        sounds = default.node_sound_water_defaults(),
})

minetest.register_node("liquids:blood_flowing", {
        description = ("Flowing Blood"),
        drawtype = "flowingliquid",
        waving = 3,
        tiles = {"default_blood.png"},
        special_tiles = {
                {
                        name = "default_blood_flowing_animated.png",
                        backface_culling = false,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 6,
                        },
                },
                {
                        name = "default_blood_flowing_animated.png",
                        backface_culling = true,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 6,
                        },
                },
        },

        use_texture_alpha = "blend",
        paramtype = "light",
        paramtype2 = "flowingliquid",
        walkable = false,
        pointable = false,
        diggable = false,
        buildable_to = true,
        is_ground_content = false,
        drop = "",
        damage_per_second = 0,
        heal_per_second = 50,
        drowning = 1,
        liquidtype = "flowing",
        liquid_alternative_flowing = "liquids:blood_flowing",
        liquid_alternative_source = "liquids:blood",
        liquid_viscosity = 1,
        post_effect_color = {a = 120, r = 145, g = 20, b = 20},
        groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
                cools_lava = 0},
        sounds = default.node_sound_water_defaults(),
})

But... Change it to your mod name.

https://github.com/N-nec/liquids.git ... <---- a link to my mod.. look at the sewage, its similar to your one.

mscubesoverhere
New member
Posts: 8
Joined: Mon Sep 01, 2025 22:22

Re: Liquid Rendering Issue

by mscubesoverhere » Post

That fixed it, thank you!

sofar
Developer
Posts: 2194
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Liquid Rendering Issue

by sofar » Post

Can you post what was wrong in your original code, and, what fixes you made that made it work?

mscubesoverhere
New member
Posts: 8
Joined: Mon Sep 01, 2025 22:22

Re: Liquid Rendering Issue

by mscubesoverhere » Post

sofar wrote:
Thu Apr 16, 2026 04:06
Can you post what was wrong in your original code, and, what fixes you made that made it work?
I apologize for taking a month to get back to this, I don't check the forum too often.
I am unsure what was wrong the first time, but here is the functioning code:

Code: Select all

core.register_node("mossworld:sludge_source", {
        description = ("Sludge"),
        drawtype = "liquid",
        waving = 3,
        tiles = {
                {
                        name = "mossworld_sludge_source_animated.png",
                        backface_culling = false,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 5.0,
                        },
                },
                {
                        name = "mossworld_sludge_source_animated.png",
                        backface_culling = false,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 5.0,
                        },
                },
        },
        use_texture_alpha = "blend",
        paramtype = "light",
        walkable = false,
        pointable = false,
        diggable = false,
        buildable_to = true,
        is_ground_content = false,
        drop = "",
        drowning = 1,
        liquidtype = "source",
        liquid_alternative_flowing = "mossworld:sludge_flowing",
        liquid_alternative_source = "mossworld:sludge_source",
        liquid_viscosity = 7,
        post_effect_color = {a = 200,"#5d4336"},
        groups = {liquid = 3},
})
core.register_node("mossworld:sludge_flowing", {
        description = ("Sludge"),
        drawtype = "flowingliquid",
        waving = 3,
        tiles = {"mossworld_sludge.png"},
        special_tiles = {
                {
                        name = "mossworld_sludge_source_animated.png",
                        backface_culling = false,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 6,
                        },
                },
                {
                        name = "mossworld_sludge_source_animated.png",
                        backface_culling = false,
                        animation = {
                                type = "vertical_frames",
                                aspect_w = 16,
                                aspect_h = 16,
                                length = 6,
                        },
                },
        },

        use_texture_alpha = "blend",
        paramtype = "light",
        paramtype2 = "flowingliquid",
        walkable = false,
        pointable = false,
        diggable = false,
        buildable_to = true,
        is_ground_content = false,
        drop = "",
        drowning = 1,
        liquidtype = "flowing",
        liquid_alternative_flowing = "mossworld:sludge_flowing",
        liquid_alternative_source = "mossworld:sludge_source",
        liquid_viscosity = 7,
        post_effect_color = {a = 200,"#5d4336"},
        groups = {liquid = 3},
})

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests