Compare commits

..

43 Commits

Author SHA1 Message Date
Dan Balasescu
406ccb8b7a Merge pull request #73 from peppy/add-legacy-skin
Add legacy skin resources
2019-08-30 12:17:31 +09:00
Dean Herbert
77b5d8e02f Add legacy skin resources 2019-08-26 18:50:10 +09:00
Dean Herbert
4a825a79d7 Add spinner samples for each bank (#71)
Add spinner samples for each bank
2019-08-22 16:24:03 +09:00
iiSaLMaN
a7d0dc2ca4 Add spinner samples each bank 2019-08-22 10:13:22 +03:00
Dean Herbert
3c8e0db0f0 Add resources for new intro sequence (#70)
Add resources for new intro sequence
2019-08-09 19:55:22 +09:00
Dean Herbert
28326c7107 Add video 2019-08-09 19:53:11 +09:00
Dean Herbert
36d6a8931a triangles dot osz 2019-08-09 19:53:07 +09:00
Dean Herbert
3c1262ae00 Add appveyor deploy script 2019-07-31 16:32:30 +09:00
Dean Herbert
99473d3670 Merge pull request #67 from smoogipoo/more-precision-qualifiers
Fix GL_ES errors due to missing precision identifiers
2019-07-31 16:25:47 +09:00
smoogipoo
568d36cb72 Fix GL_ES errors due to missing precision identifiers 2019-07-31 16:20:01 +09:00
Dan Balasescu
f6d3057dcc Merge pull request #66 from nyquillerium/highp-flashlight
Fix loss of precision for flashlight smoothing distance calculations
2019-07-31 13:22:35 +09:00
David Zhao
fb90b1a668 specify for method as well 2019-07-25 11:24:15 +09:00
David Zhao
6448d6051f Remove compiler definitions 2019-07-24 17:20:14 +09:00
David Zhao
8bc6f5a986 specify precision for rectangular flashlight too 2019-07-23 18:58:49 +09:00
David Zhao
c12541bb28 remove unnecessary pre-processor directives 2019-07-23 15:44:15 +09:00
David Zhao
96286f8c6f Explicitly define precision for all variables, fall back to medium precision 2019-07-22 20:02:18 +09:00
David Zhao
d58ad077c8 Add comment 2019-07-19 15:22:38 +09:00
David Zhao
751ded4dd9 define highp and lowp for non GL_ES platforms 2019-07-19 15:20:26 +09:00
David Zhao
7675deb816 Update precisions 2019-07-19 14:58:33 +09:00
David Zhao
9ba9ae77b9 Only mark diff parameter as high precision 2019-07-18 21:02:47 +09:00
David Zhao
f36e765845 Change flashlight float precision to highp 2019-07-18 17:36:03 +09:00
Dean Herbert
3a3d0c1984 Remove grade textures (#65)
Remove grade textures
2019-07-03 13:49:28 +09:00
iiSaLMaN
b7f01508a0 Remove unused textures 2019-07-03 04:32:11 +03:00
Dean Herbert
3ade4a856c Add new menu backgrounds (#64)
Add new menu backgrounds
2019-07-02 17:55:41 +09:00
Dean Herbert
d79c12f663 Trim audio samples that were excessively long (#63)
Trim audio samples that were excessively long
2019-07-02 17:55:07 +09:00
Dean Herbert
f5a3de1e89 Add new menu backgrounds 2019-07-02 17:52:16 +09:00
Dean Herbert
34448428fe Trim audio samples that were excessively long 2019-07-02 16:19:26 +09:00
Dean Herbert
126e0f55bf Trim font spritesheet sizes where possible (#62)
Trim font spritesheet sizes where possible
2019-07-01 17:55:42 +09:00
Dean Herbert
affcaf9413 Trim font spritesheet sizes where possible 2019-07-01 17:41:06 +09:00
Dean Herbert
f8b1063617 Merge pull request #61 from iiSaLMaN/venera-medium
Add Venera900 as Medium
2019-06-30 23:08:39 +09:00
Salman Ahmed
299099bfb6 Add Venera900 as Medium 2019-06-29 10:25:41 +03:00
Dean Herbert
93f52d0add Merge pull request #60 from welsar55/combobreak
Add combobreak.mp3
2019-06-27 00:19:08 +09:00
Welsar55
79b2f662db Add combobreak.mp3 2019-06-26 00:10:41 -05:00
iiSaLMaN
c7cc430505 Update grade textures + Remove F grade texture (#58) 2019-06-09 22:00:45 +09:00
Dean Herbert
44c3acb3ab Merge pull request #56 from peppy/add-changelog-resources
Add graphical resources for changelog overlay
2019-05-17 19:09:40 +09:00
Dean Herbert
82e55bf2e7 Add graphical resources for changelog overlay 2019-05-17 10:19:37 +09:00
Dean Herbert
d650f1c3e3 Merge pull request #54 from iiSaLMaN/master
Add a fail sound
2019-05-02 14:21:04 +09:00
iiSaLMaN
ca32d2b67d Add fail sound 2019-04-17 16:52:56 +03:00
iiSaLMaN
807cfd28e1 Delete failsound.mp3 2019-04-17 16:52:32 +03:00
iiSaLMaN
e12898f65d Add fail sound 2019-04-17 16:46:52 +03:00
Dean Herbert
a9eb133d26 Merge pull request #53 from nyquillerium/flashlight-dimming
Add dim to flashlight shader
2019-04-17 21:41:34 +08:00
David Zhao
005f95a4b6 Invert to flashlightDim 2019-04-12 11:24:17 +09:00
David Zhao
801c6efa96 Add lightness to flashlight shader for dimming 2019-04-12 10:50:10 +09:00
175 changed files with 34 additions and 17 deletions

17
appveyor_deploy.yml Normal file
View File

@@ -0,0 +1,17 @@
clone_depth: 1
version: '{build}'
skip_non_tags: true
image: Visual Studio 2017
configuration: Release
platform: Any CPU
before_build:
- ps: if($env:appveyor_repo_tag -eq 'True') { Update-AppveyorBuild -Version $env:appveyor_repo_tag_name }
build_script:
- cmd: dotnet pack osu.Game.Resources /p:Version=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: osu.Game.Resources/bin/Any CPU/Release/**/*.nupkg
deploy:
- provider: Environment
name: nuget
- provider: Environment
name: github

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Binary file not shown.

View File

@@ -1,9 +1,10 @@
#include "sh_Flashlight.h"
vec4 getColourAt(vec2 diff, vec2 size, vec4 originalColour)
// highp precision is necessary for vertex positions to prevent catastrophic failure on GL_ES platforms
lowp vec4 getColourAt(highp vec2 diff, highp vec2 size, lowp vec4 originalColour)
{
float dist = length(diff);
float flashlightRadius = length(size);
highp float dist = length(diff);
highp float flashlightRadius = length(size);
return originalColour * vec4(1.0, 1.0, 1.0, smoothstep(flashlightRadius, flashlightRadius * smoothness, dist));
}

View File

@@ -1,18 +1,16 @@
#ifdef GL_ES
precision mediump float;
#endif
varying highp vec2 v_Position;
varying lowp vec4 v_Colour;
varying vec2 v_Position;
varying vec4 v_Colour;
uniform highp vec2 flashlightPos;
uniform highp vec2 flashlightSize;
uniform vec2 flashlightPos;
uniform vec2 flashlightSize;
uniform lowp float flashlightDim;
const float smoothness = 1.1;
const mediump float smoothness = 1.1;
vec4 getColourAt(vec2, vec2, vec4);
lowp vec4 getColourAt(highp vec2, highp vec2, lowp vec4);
void main(void)
{
gl_FragColor = getColourAt(flashlightPos - v_Position, flashlightSize, v_Colour);
}
gl_FragColor = mix(getColourAt(flashlightPos - v_Position, flashlightSize, v_Colour), vec4(0.0, 0.0, 0.0, 1.0), flashlightDim);
}

View File

@@ -1,10 +1,10 @@
#include "sh_Flashlight.h"
vec4 getColourAt(vec2 diff, vec2 size, vec4 originalColour)
lowp vec4 getColourAt(highp vec2 diff, highp vec2 size, lowp vec4 originalColour)
{
diff = abs(diff);
float alpha = length(smoothstep(size, size * smoothness, diff));
lowp float alpha = length(smoothstep(size, size * smoothness, diff));
return originalColour * vec4(1.0, 1.0, 1.0, alpha);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Some files were not shown because too many files have changed in this diff Show More