mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Waterlily: Avoid z-fighting of base texture with water surface
Avoid z-fighting visible from below. Raise the nodebox base 1/64th of a node.
This commit is contained in:
		@@ -264,7 +264,7 @@ minetest.register_node("flowers:waterlily", {
 | 
			
		||||
	node_placement_prediction = "",
 | 
			
		||||
	node_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, -15 / 32, 0.5}
 | 
			
		||||
		fixed = {-0.5, -31 / 64, -0.5, 0.5, -15 / 32, 0.5}
 | 
			
		||||
	},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user