Skip to content

Commit

Permalink
DevTest: Fix rendering of 2 texture test nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 authored and sfan5 committed Oct 23, 2022
1 parent c73d798 commit 9e186a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions games/devtest/mods/testnodes/textures.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,18 @@ minetest.register_node("testnodes:generated_png_emb", {
description = S("Generated In-Band Mandelbrot PNG Test Node"),
tiles = { png_emb },

drawtype = "allfaces", -- required because of transparent pixels
use_texture_alpha = "clip",
paramtype = "light",
groups = { dig_immediate = 2 },
})
minetest.register_node("testnodes:generated_png_src_emb", {
description = S("Generated In-Band Source Blit Mandelbrot PNG Test Node"),
tiles = { png_emb .. "^testnodes_damage_neg.png" },

drawtype = "allfaces", -- required because of transparent pixels
use_texture_alpha = "clip",
paramtype = "light",
groups = { dig_immediate = 2 },
})
minetest.register_node("testnodes:generated_png_dst_emb", {
Expand Down

0 comments on commit 9e186a4

Please sign in to comment.