Jump to content

[1.12.2] Transparency sorting issue on json model


Melonslise

Recommended Posts

I have an overlay model for my custom door which flickers like so: https://streamable.com/h99ck

Here's how one of the (4) models looks like:

Spoiler

{
	"ambientocclusion": false,
	"textures": { "particle": "#bottom" },
	"elements":
	[
		{
			"from": [0, 0, 0],
			"to": [ 3, 3, 16],
			"shade": false,
			"faces":
			{
				"west":  { "texture": "#base", "tintindex": 0, "cullface": "west" },
				"east":  { "texture": "#base", "tintindex": 0}
			}
		},
		{
			"from": [0, 3, 0],
			"to": [ 3, 16, 3],
			"shade": false,
			"faces":
			{
				"west":  { "texture": "#base", "tintindex": 0, "cullface": "west" },
				"east":  { "texture": "#base", "tintindex": 0}
			}
		},
		{
			"from": [0, 3, 13],
			"to": [ 3, 16, 16],
			"shade": false,
			"faces":
			{
				"west":  { "texture": "#base", "tintindex": 0, "cullface": "west" },
				"east":  { "texture": "#base", "tintindex": 0}
			}
		},
		{
			"from": [ 0, 0, 0 ],
			"to": [ 3, 16, 16 ],
			"faces":
			{
				"down":  { "uv": [ 13, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" },
				"north": { "uv": [  3, 0,  0, 16 ], "texture": "#bottom", "cullface": "north" },
				"south": { "uv": [  0, 0,  3, 16 ], "texture": "#bottom", "cullface": "south" },
				"west":  { "uv": [  0, 0, 16, 16 ], "texture": "#bottom", "cullface": "west" },
				"east":  { "uv": [ 16, 0,  0, 16 ], "texture": "#bottom" }
			}
		}
	]
}

 

and here is the blockstate:

Spoiler

{
	"forge_marker": 1,
	"defaults": { "textures": { "base": "hexcraft:blocks/glow" } },
	"variants":
	{
		"facing=east,half=lower,hinge=left,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_bottom", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=lower,hinge=left,open=false,reinforced=false": { "model": "hexcraft:door_overlay_bottom", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=lower,hinge=left,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_bottom", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=lower,hinge=left,open=false,reinforced=false": { "model": "hexcraft:door_overlay_bottom", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=lower,hinge=right,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_bottom_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=lower,hinge=right,open=false,reinforced=false": { "model": "hexcraft:door_overlay_bottom_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=lower,hinge=right,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_bottom_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=lower,hinge=right,open=false,reinforced=false": { "model": "hexcraft:door_overlay_bottom_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=lower,hinge=left,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_bottom_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=lower,hinge=left,open=true,reinforced=false": { "model": "hexcraft:door_overlay_bottom_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=lower,hinge=left,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_bottom_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=lower,hinge=left,open=true,reinforced=false": { "model": "hexcraft:door_overlay_bottom_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=lower,hinge=right,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_bottom", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=lower,hinge=right,open=true,reinforced=false": { "model": "hexcraft:door_overlay_bottom", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=lower,hinge=right,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_bottom", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=lower,hinge=right,open=true,reinforced=false": { "model": "hexcraft:door_overlay_bottom", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=upper,hinge=left,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_top", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=upper,hinge=left,open=false,reinforced=false": { "model": "hexcraft:door_overlay_top", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=upper,hinge=left,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_top", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=upper,hinge=left,open=false,reinforced=false": { "model": "hexcraft:door_overlay_top", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=upper,hinge=right,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_top_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=upper,hinge=right,open=false,reinforced=false": { "model": "hexcraft:door_overlay_top_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=upper,hinge=right,open=false,reinforced=false":  { "model": "hexcraft:door_overlay_top_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=upper,hinge=right,open=false,reinforced=false": { "model": "hexcraft:door_overlay_top_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=upper,hinge=left,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_top_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=upper,hinge=left,open=true,reinforced=false": { "model": "hexcraft:door_overlay_top_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=upper,hinge=left,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_top_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=upper,hinge=left,open=true,reinforced=false": { "model": "hexcraft:door_overlay_top_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=east,half=upper,hinge=right,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_top", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=south,half=upper,hinge=right,open=true,reinforced=false": { "model": "hexcraft:door_overlay_top", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "top": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=west,half=upper,hinge=right,open=true,reinforced=false":  { "model": "hexcraft:door_overlay_top", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },
		"facing=north,half=upper,hinge=right,open=true,reinforced=false": { "model": "hexcraft:door_overlay_top", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom" } },

		"facing=east,half=lower,hinge=left,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_bottom", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=lower,hinge=left,open=false,reinforced=true": { "model": "hexcraft:door_overlay_bottom", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=lower,hinge=left,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_bottom", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=lower,hinge=left,open=false,reinforced=true": { "model": "hexcraft:door_overlay_bottom", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=lower,hinge=right,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_bottom_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=lower,hinge=right,open=false,reinforced=true": { "model": "hexcraft:door_overlay_bottom_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=lower,hinge=right,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_bottom_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=lower,hinge=right,open=false,reinforced=true": { "model": "hexcraft:door_overlay_bottom_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=lower,hinge=left,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_bottom_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=lower,hinge=left,open=true,reinforced=true": { "model": "hexcraft:door_overlay_bottom_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=lower,hinge=left,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_bottom_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=lower,hinge=left,open=true,reinforced=true": { "model": "hexcraft:door_overlay_bottom_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=lower,hinge=right,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_bottom", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=lower,hinge=right,open=true,reinforced=true": { "model": "hexcraft:door_overlay_bottom", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=lower,hinge=right,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_bottom", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=lower,hinge=right,open=true,reinforced=true": { "model": "hexcraft:door_overlay_bottom", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=upper,hinge=left,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_top", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=upper,hinge=left,open=false,reinforced=true": { "model": "hexcraft:door_overlay_top", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=upper,hinge=left,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_top", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=upper,hinge=left,open=false,reinforced=true": { "model": "hexcraft:door_overlay_top", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=upper,hinge=right,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_top_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=upper,hinge=right,open=false,reinforced=true": { "model": "hexcraft:door_overlay_top_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=upper,hinge=right,open=false,reinforced=true":  { "model": "hexcraft:door_overlay_top_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=upper,hinge=right,open=false,reinforced=true": { "model": "hexcraft:door_overlay_top_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=upper,hinge=left,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_top_flipped", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=upper,hinge=left,open=true,reinforced=true": { "model": "hexcraft:door_overlay_top_flipped", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=upper,hinge=left,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_top_flipped", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=upper,hinge=left,open=true,reinforced=true": { "model": "hexcraft:door_overlay_top_flipped", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=east,half=upper,hinge=right,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_top", "y": 270, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=south,half=upper,hinge=right,open=true,reinforced=true": { "model": "hexcraft:door_overlay_top", "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "top": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=west,half=upper,hinge=right,open=true,reinforced=true":  { "model": "hexcraft:door_overlay_top", "y": 90, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },
		"facing=north,half=upper,hinge=right,open=true,reinforced=true": { "model": "hexcraft:door_overlay_top", "y": 180, "textures": { "top": "hexcraft:blocks/hexorium_door/hexorium_door_top_reinforced", "bottom": "hexcraft:blocks/hexorium_door/hexorium_door_bottom_reinforced" } },

		"inventory": [{}]
	}
}

 

As you can see, I have defined the flickering parts before the outer layer meaning they should always appear on the bottom, but for some reason they keep flickering. I have a similar overlay model for a full cube and it works just fine. Thanks

 

Relevant classes:

https://pastebin.com/NVUhE7f9

https://pastebin.com/Dk3s3BzQ

Edited by Melonslise
Link to comment
Share on other sites

That's not z-fighting. That's a transparency sorting problem, where the game isn't sure which one needs to be rendered first in order to multiply the alpha values correctly. Z-fighting is when the two planes "blend" into each other in very strange ways and shimmer even with subtle camera movement (or none at all) caused by the limited precision of floating point numbers.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

10 hours ago, Draco18s said:

That's not z-fighting. That's a transparency sorting problem, where the game isn't sure which one needs to be rendered first in order to multiply the alpha values correctly. Z-fighting is when the two planes "blend" into each other in very strange ways and shimmer even with subtle camera movement (or none at all) caused by the limited precision of floating point numbers.

Fair enough. How do I fix this sorting issue though?

Link to comment
Share on other sites

You can't AFAIK. I'm pretty sure this is being fixed in 1.14. If you actually need translucent models, you're out of luck, but if you don't you should be able to just use the CUTOUT or CUTOUT_MIPPED render layer. 

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

36 minutes ago, Cadiboo said:

You can't AFAIK. I'm pretty sure this is being fixed in 1.14. If you actually need translucent models, you're out of luck, but if you don't you should be able to just use the CUTOUT or CUTOUT_MIPPED render layer. 

Chaning to either cutout layer made things even worse:

Spoiler

2019-03-10_12_02_04.png.f707f2ee3ba7f619e57eed500fd0a019.png

But I do need translucency. It's clearly a different issue because you can see I used the same overlay technique on the translucent layer for those full cubes behind the door and it worked just fine.

Edited by Melonslise
Link to comment
Share on other sites

Now that looks like a z-fighting issue. Make sure that your model elements aren't in exactly the same place. Transparency (what you use with CUTOUT) isn't a problem. Translucency (what you use with TRANSLUCENT) is a problem.

Your mod looks amazing btw!

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

1 minute ago, Cadiboo said:

Now that looks like a z-fighting issue. Make sure that your model elements aren't in exactly the same place. Transparency (what you use with CUTOUT) isn't a problem. Translucency (what you use with TRANSLUCENT) is a problem.

Let me say this again: some of those blocks you see behind the door are rendered on the TRANSLUCENT layer and their model elements are 2 identical cubes. Yet they do not have the same issue. How come my door model in particular has this issue? Vanilla grass does overlay in the same way: it has overlapping model elements.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.