refactor(texture): bump block texture size to 512 and disable items tab

This commit is contained in:
2026-07-21 13:18:58 +08:00
parent 2bb281b01c
commit 51f36e3dfc
14 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 B

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 B

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 B

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 877 B

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 B

After

Width:  |  Height:  |  Size: 215 KiB

BIN
assets/texture/ui/slot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

View File

@@ -63,7 +63,7 @@ private:
void show_server_world_table_bar();
void show_client_world_table_bar();
void show_player_tab_item();
void show_items_tab_item();
// void show_items_tab_item();
void show_shader_tab_item();
void update_config_view();

View File

@@ -71,7 +71,7 @@ void DevPanel::render() {
show_settings_tab_item();
show_world_tab_item();
show_player_tab_item();
show_items_tab_item();
// show_items_tab_item();
show_shader_tab_item();
ImGui::EndTabBar();
@@ -525,7 +525,7 @@ void DevPanel::show_player_tab_item() {
ImGui::EndTabItem();
}
}
/*
void DevPanel::show_items_tab_item() {
auto& textures = m_app.texture_manager().item_textures();
// auto& names = MapTable::item_map();
@@ -562,7 +562,7 @@ void DevPanel::show_items_tab_item() {
}
ImGui::EndTabItem();
}
}
}*/
void DevPanel::show_shader_tab_item() {

View File

@@ -7,7 +7,7 @@
#include "Cubed/tools/shader_tools.hpp"
namespace {
constexpr int BLOCK_SIZE = 16;
constexpr int BLOCK_SIZE = 512;
constexpr int BLOCK_NORMAL_SIZE = 128;
constexpr int CROSS_PLANE_SIZE = 16;
constexpr int BLOCK_ITEM_SIZE = 16;