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
|
@ -46,7 +46,7 @@ namespace gui {
|
|||
init();
|
||||
}
|
||||
|
||||
bool CombatUI::mouse(float x, float y) {
|
||||
return $gui.mouse(x, y);
|
||||
bool CombatUI::mouse(float x, float y, bool hover) {
|
||||
return $gui.mouse(x, y, hover);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue