🔧 Tweak glide defaults [generate-references]
This commit is contained in:
@@ -30,7 +30,7 @@ void main() {
|
|||||||
coords /= mix(1.0, uScale, progress);
|
coords /= mix(1.0, uScale, progress);
|
||||||
|
|
||||||
// Squish image texture vertically.
|
// Squish image texture vertically.
|
||||||
coords.y /= mix(1.0, (1.0 - uSquish), progress);
|
coords.y /= mix(1.0, (1.0 - 0.2 * uSquish), progress);
|
||||||
|
|
||||||
// 'Tilt' image texture around x-axis.
|
// 'Tilt' image texture around x-axis.
|
||||||
coords.x /= mix(1.0, 1.0 - 0.1 * uTilt * coords.y, progress);
|
coords.x /= mix(1.0, 1.0 - 0.1 * uTilt * coords.y, progress);
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ SPDX-License-Identifier: CC0-1.0
|
|||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="glide-animation-time" type="i">
|
<key name="glide-animation-time" type="i">
|
||||||
<default>300</default>
|
<default>250</default>
|
||||||
<summary>Glide Animation Time</summary>
|
<summary>Glide Animation Time</summary>
|
||||||
<description>The time the glide effect takes.</description>
|
<description>The time the glide effect takes.</description>
|
||||||
</key>
|
</key>
|
||||||
@@ -332,7 +332,7 @@ SPDX-License-Identifier: CC0-1.0
|
|||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="glide-tilt" type="d">
|
<key name="glide-tilt" type="d">
|
||||||
<default>-0.4</default>
|
<default>-0.3</default>
|
||||||
<summary>Glide Tilt</summary>
|
<summary>Glide Tilt</summary>
|
||||||
<description>The amount of tilting.</description>
|
<description>The amount of tilting.</description>
|
||||||
</key>
|
</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user