I can now apply shaders to any GUI element, but I need a shader manager that will allow for hot reloading and tracking input/output variables.
This commit is contained in:
parent
80b4faf940
commit
a5b8e411e3
8 changed files with 121 additions and 16 deletions
|
@ -72,8 +72,8 @@ constexpr int COMBAT_UI_HEIGHT = SCREEN_HEIGHT - RAY_VIEW_HEIGHT;
|
|||
constexpr wchar_t BG_TILE = L'█';
|
||||
constexpr wchar_t UI_BASE_CHAR = L'█';
|
||||
constexpr int BG_BOX_OFFSET=5;
|
||||
constexpr const char *FONT_FILE_NAME="./assets/text.otf";
|
||||
|
||||
constexpr const char *FONT_FILE_NAME="assets/text.otf";
|
||||
constexpr const char *DEFAULT_UI_SHADER = "shaders/ui_shader.frag";
|
||||
|
||||
constexpr std::array<std::wstring, 8> COMPASS{
|
||||
// L"E", L"SE", L"S", L"SW", L"W", L"NW", L"N", L"NE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue