Compare commits
7 Commits
2024.1219.
...
2025.129.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
498a0486ce | ||
|
|
b776f0c3ed | ||
|
|
d05ee7cdb7 | ||
|
|
cd67c75f49 | ||
|
|
86dd53bc7f | ||
|
|
96cfd144fa | ||
|
|
159356d63d |
BIN
osu.Game.Resources/Samples/UI/notification-friend-offline.wav
Normal file
BIN
osu.Game.Resources/Samples/UI/notification-friend-offline.wav
Normal file
Binary file not shown.
BIN
osu.Game.Resources/Samples/UI/notification-friend-online.wav
Normal file
BIN
osu.Game.Resources/Samples/UI/notification-friend-online.wav
Normal file
Binary file not shown.
@@ -18,7 +18,12 @@ void main(void)
|
||||
// todo: workaround for a SPIR-V bug (https://github.com/ppy/osu-framework/issues/5719)
|
||||
float one = g_BackbufferDraw ? 1 : 0;
|
||||
|
||||
vec4 colour = texture(sampler2D(m_Texture, m_Sampler), v_TexCoord, -0.9) * one;
|
||||
vec4 texel = texture(sampler2D(m_Texture, m_Sampler), v_TexCoord, -0.9) * one;
|
||||
|
||||
o_Colour = colour.r < progress ? vec4(v_Colour.rgb, v_Colour.a * colour.a) : vec4(0);
|
||||
// progress information is stored in the red channel,
|
||||
// and alpha information is stored in the green channel.
|
||||
float current = texel.r;
|
||||
float alpha = texel.g;
|
||||
|
||||
o_Colour = current < progress ? vec4(v_Colour.rgb, v_Colour.a * alpha) : vec4(0);
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 103 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 98 KiB |
BIN
osu.Game.Resources/Textures/Menu/hat.png
Normal file
BIN
osu.Game.Resources/Textures/Menu/hat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 199 KiB |
Reference in New Issue
Block a user