Quartz loses texture upon world reload #1

Closed
opened 2022-12-01 10:56:14 +01:00 by insanity54 · 6 comments

Thank you for this mod! I really like the different coloured stones.

I'm seeing an issue where the rose quartz is invisible. I logged out, back in, and teleported to a different area just to see if it was a loading error, but the issue persists. I've attached a screenshot.

Thank you for this mod! I really like the different coloured stones. I'm seeing an issue where the rose quartz is invisible. I logged out, back in, and teleported to a different area just to see if it was a loading error, but the issue persists. I've attached a screenshot.

I have no idea how to fix that. I'll take a peak under the hood though. I think I'll add a print to the mod that says which version is loaded to help me debug. Do you have shaders loaded? I've reloaded several worlds while testing and never had the issue, so I need as much detail on graphics settings as possible so I can replicate the issue. Especially Any setting with transparent nodes.

I have no idea how to fix that. I'll take a peak under the hood though. I think I'll add a print to the mod that says which version is loaded to help me debug. Do you have shaders loaded? I've reloaded several worlds while testing and never had the issue, so I need as much detail on graphics settings as possible so I can replicate the issue. Especially Any setting with transparent nodes.
TheOnlyJoeEnderman changed title from Quartz appears transparent to Quartz loses texture upon world reload 2022-12-01 19:52:38 +01:00
TheOnlyJoeEnderman added reference master 2022-12-01 19:55:31 +01:00
Author

I'm running Minetest 5.6.1. Maybe there is a recent API change that is causing a difference?

I'm wondering if this is a common issue or if it's just somehow an issue with my computer. I'm going to ask around on my server and see if anyone else has the same issue.

I don't use custom shaders.

Placing other too_many_stones nodes as a test, I realized that it's not just Ruby Quartz with the issue, but it's also Calcite.

Common trait between those two is drawtype = "glasslike"

Hunted for other mods that appear as expected which also use drawtype = "glasslike"

grep -r 'drawtype = "glasslike"' ./mods

Found Glow Emerald from shara/caverealms to have a similar node behavior. Semi-transparent, and the texture shows up as expected.

--glowing emerald
minetest.register_node("caverealms:glow_emerald", {
	description = "Glow Emerald",
	use_texture_alpha = true,
	drawtype = "glasslike",
	tiles = {"caverealms_glow_emerald.png"},
	sunlight_propagates = true,
	is_ground_content = true,
	groups = {cracky=3},
	sounds = default.node_sound_glass_defaults(),
	light_source = 13,
	paramtype = "light",
})

paramtype = "light" is not present in too_many_stones calcite and rose quarts node definitions. I added that to and then I was seeing them as intended.

I'm running Minetest 5.6.1. Maybe there is a recent API change that is causing a difference? I'm wondering if this is a common issue or if it's just somehow an issue with my computer. I'm going to ask around on my server and see if anyone else has the same issue. I don't use custom shaders. Placing other too_many_stones nodes as a test, I realized that it's not just Ruby Quartz with the issue, but it's also Calcite. Common trait between those two is `drawtype = "glasslike"` Hunted for other mods that appear as expected which also use `drawtype = "glasslike"` `grep -r 'drawtype = "glasslike"' ./mods` Found Glow Emerald from shara/caverealms to have a similar node behavior. Semi-transparent, and the texture shows up as expected. ```lua --glowing emerald minetest.register_node("caverealms:glow_emerald", { description = "Glow Emerald", use_texture_alpha = true, drawtype = "glasslike", tiles = {"caverealms_glow_emerald.png"}, sunlight_propagates = true, is_ground_content = true, groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), light_source = 13, paramtype = "light", }) ``` paramtype = "light" is not present in too_many_stones calcite and rose quarts node definitions. I added that to and then I was seeing them as intended.

Ok, I'll add that.

Ok, I'll add that.
TheOnlyJoeEnderman self-assigned this 2022-12-03 00:26:19 +01:00

Bug is now fixed. Thank you for helping.

Bug is now fixed. Thank you for helping.
Author

Thank you!

Thank you!

No, thank you! I would never have found that without your help. I did notice that the clear blocks were weirdly dark underground, but just assumed it was because I was doing stuff I hadn't seen Minetest do, or that it was just dark underground.

No, thank you! I would never have found that without your help. I did notice that the clear blocks were weirdly dark underground, but just assumed it was because I was doing stuff I hadn't seen Minetest do, or that it was just dark underground.
Sign in to join this conversation.
No description provided.