refactor(texture): bump block texture size to 512 and disable items tab
|
Before Width: | Height: | Size: 99 B After Width: | Height: | Size: 355 B |
|
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 231 KiB |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 893 B |
|
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 877 B After Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 915 B After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 215 KiB |
BIN
assets/texture/ui/slot.png
Normal file
|
After Width: | Height: | Size: 122 B |
@@ -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();
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||