I think this is the best I can do for a hover vs. click shader effect. Just do it in a shader based on a uniform setting.
This commit is contained in:
parent
84a5f06dac
commit
7186c2ecb0
16 changed files with 54 additions and 38 deletions
|
@ -20,7 +20,7 @@ namespace gui {
|
|||
void select_slot(DinkyECS::Entity ent, std::any data);
|
||||
void select_ritual();
|
||||
void update_level(GameLevel &level);
|
||||
bool mouse(float x, float y);
|
||||
bool mouse(float x, float y, bool hover);
|
||||
void log(std::wstring msg);
|
||||
void init();
|
||||
void render(sf::RenderWindow &window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue