GLSL smoothstep is NOT lerp, it's 'Hermite linear interpolation' which basically means not a damn thing anyone says it is. mix is what I want.
This commit is contained in:
parent
766b20f3f8
commit
08bc48df3d
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ namespace gui {
|
|||
$gui.set<Sprite>(button, {"leather_pouch-128"});
|
||||
// $gui.set<Rectangle>(button, {});
|
||||
$gui.set<Label>(button, {label});
|
||||
$gui.set<Shader>(button, {.duration=0.2f});
|
||||
$gui.set<Shader>(button, {.duration=0.1f});
|
||||
$gui.set<Clickable>(button,
|
||||
guecs::make_action(*$level.world, event));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue