aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2021-02-04 20:43:29 +0000
committerGitHub <noreply@github.com>2021-02-04 21:43:29 +0100
commit9b64834c6a2ae6eb254e486c87864e6116cfafa1 (patch)
treeda6fea7d7098df4337a2aa66440ef251145ea99f /games
parent8c19823aa7206e6c73a4ad00620365552c82d241 (diff)
downloadminetest-9b64834c6a2ae6eb254e486c87864e6116cfafa1.tar.gz
minetest-9b64834c6a2ae6eb254e486c87864e6116cfafa1.tar.bz2
minetest-9b64834c6a2ae6eb254e486c87864e6116cfafa1.zip
Devtest: Remove bumpmap/parallax occl. test nodes (#10902)
Diffstat (limited to 'games')
-rw-r--r--games/devtest/mods/testnodes/textures.lua48
-rw-r--r--games/devtest/mods/testnodes/textures/testnodes_height_pyramid.pngbin90 -> 0 bytes
-rw-r--r--games/devtest/mods/testnodes/textures/testnodes_height_pyramid_normal.pngbin239 -> 0 bytes
-rw-r--r--games/devtest/mods/testnodes/textures/testnodes_parallax_extruded.pngbin591 -> 0 bytes
-rw-r--r--games/devtest/mods/testnodes/textures/testnodes_parallax_extruded_normal.pngbin143 -> 0 bytes
5 files changed, 0 insertions, 48 deletions
diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua
index a508b6a4d..f6e6a0c2a 100644
--- a/games/devtest/mods/testnodes/textures.lua
+++ b/games/devtest/mods/testnodes/textures.lua
@@ -65,51 +65,3 @@ for a=1,#alphas do
})
end
-
--- Bumpmapping and Parallax Occlusion
-
--- This node has a normal map which corresponds to a pyramid with sides tilted
--- by an angle of 45°, i.e. the normal map contains four vectors which point
--- diagonally away from the surface (e.g. (0.7, 0.7, 0)),
--- and the heights in the height map linearly increase towards the centre,
--- so that the surface corresponds to a simple pyramid.
--- The node can help to determine if e.g. tangent space transformations work
--- correctly.
--- If, for example, the light comes from above, then the (tilted) pyramids
--- should look like they're lit from this light direction on all node faces.
--- The white albedo texture has small black indicators which can be used to see
--- how it is transformed ingame (and thus see if there's rotation around the
--- normal vector).
-minetest.register_node("testnodes:height_pyramid", {
- description = "Bumpmapping and Parallax Occlusion Tester (height pyramid)",
- tiles = {"testnodes_height_pyramid.png"},
- groups = {dig_immediate = 3},
-})
-
--- The stairs nodes should help to validate if shading works correctly for
--- rotated nodes (which have rotated textures).
-stairs.register_stair_and_slab("height_pyramid", "experimantal:height_pyramid",
- {dig_immediate = 3},
- {"testnodes_height_pyramid.png"},
- "Bumpmapping and Parallax Occlusion Tester Stair (height pyramid)",
- "Bumpmapping and Parallax Occlusion Tester Slab (height pyramid)")
-
--- This node has a simple heightmap for parallax occlusion testing and flat
--- normalmap.
--- When parallax occlusion is enabled, the yellow scrawl should stick out of
--- the texture when viewed at an angle.
-minetest.register_node("testnodes:parallax_extruded", {
- description = "Parallax Occlusion Tester",
- tiles = {"testnodes_parallax_extruded.png"},
- groups = {dig_immediate = 3},
-})
-
--- Analogously to the height pyramid stairs nodes,
--- these nodes should help to validate if parallax occlusion works correctly for
--- rotated nodes (which have rotated textures).
-stairs.register_stair_and_slab("parallax_extruded",
- "experimantal:parallax_extruded",
- {dig_immediate = 3},
- {"testnodes_parallax_extruded.png"},
- "Parallax Occlusion Tester Stair",
- "Parallax Occlusion Tester Slab")
diff --git a/games/devtest/mods/testnodes/textures/testnodes_height_pyramid.png b/games/devtest/mods/testnodes/textures/testnodes_height_pyramid.png
deleted file mode 100644
index 8c787b740..000000000
--- a/games/devtest/mods/testnodes/textures/testnodes_height_pyramid.png
+++ /dev/null
Binary files differ
diff --git a/games/devtest/mods/testnodes/textures/testnodes_height_pyramid_normal.png b/games/devtest/mods/testnodes/textures/testnodes_height_pyramid_normal.png
deleted file mode 100644
index 5ab7865f2..000000000
--- a/games/devtest/mods/testnodes/textures/testnodes_height_pyramid_normal.png
+++ /dev/null
Binary files differ
diff --git a/games/devtest/mods/testnodes/textures/testnodes_parallax_extruded.png b/games/devtest/mods/testnodes/textures/testnodes_parallax_extruded.png
deleted file mode 100644
index 7e1c32398..000000000
--- a/games/devtest/mods/testnodes/textures/testnodes_parallax_extruded.png
+++ /dev/null
Binary files differ
diff --git a/games/devtest/mods/testnodes/textures/testnodes_parallax_extruded_normal.png b/games/devtest/mods/testnodes/textures/testnodes_parallax_extruded_normal.png
deleted file mode 100644
index b134699d0..000000000
--- a/games/devtest/mods/testnodes/textures/testnodes_parallax_extruded_normal.png
+++ /dev/null
Binary files differ