Skip to content

Commit

Permalink
Fix alpha texture warnings (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 authored Dec 29, 2022
1 parent 2100ca0 commit 1949d88
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ register_node("maptools:ignore_like", {
tiles = {"invisible.png"},
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
})

register_node("maptools:ignore_like_no_clip", {
Expand All @@ -94,6 +95,7 @@ register_node("maptools:ignore_like_no_clip", {
paramtype = "light",
walkable = false,
sunlight_propagates = true,
use_texture_alpha = "clip",
})


Expand All @@ -104,6 +106,7 @@ register_node("maptools:ignore_like_no_point", {
paramtype = "light",
pointable = false,
sunlight_propagates = true,
use_texture_alpha = "clip",
})

register_node("maptools:ignore_like_no_clip_no_point", {
Expand All @@ -124,6 +127,7 @@ register_node("maptools:fullclip_face", {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
Expand All @@ -141,6 +145,7 @@ register_node("maptools:playerclip_bottom", {
pointable = false,
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
Expand All @@ -158,6 +163,7 @@ register_node("maptools:playerclip_top", {
pointable = false,
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, 0.4999, -0.5, 0.5, 0.5, 0.5},
Expand All @@ -176,6 +182,7 @@ for pusher_num=1,10,1 do
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
Expand Down

0 comments on commit 1949d88

Please sign in to comment.