Fix use_texture_alpha issues

This commit is contained in:
Joachim Stolberg 2022-08-07 16:03:33 +02:00
parent 1652b154b4
commit c0a11e2477
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ minetest.register_entity(":techage:region_cube", {
initial_properties = { initial_properties = {
visual = "upright_sprite", visual = "upright_sprite",
textures = {"techage_cube_mark.png"}, textures = {"techage_cube_mark.png"},
use_texture_alpha = techage.BLEND, use_texture_alpha = true,
physical = false, physical = false,
glow = 12, glow = 12,
}, },

View File

@ -70,7 +70,7 @@ minetest.register_entity(":techage:position_cube", {
"techage_cube_mark.png", "techage_cube_mark.png",
"techage_cube_mark.png", "techage_cube_mark.png",
}, },
use_texture_alpha = techage.BLEND, use_texture_alpha = true,
physical = false, physical = false,
visual_size = {x = 1.1, y = 1.1}, visual_size = {x = 1.1, y = 1.1},
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55}, collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},