From a5be4fd5191f6dd6cae63124a9c3f5925ba1bc0a Mon Sep 17 00:00:00 2001 From: falsycat Date: Wed, 16 Oct 2019 00:00:00 +0000 Subject: [PATCH] [update] Improved shading parameters. --- sjplayer/src/sjplayer/PostEffect.d | 2 +- src/sj/LobbyWorld.d | 4 ++-- src/sj/SelectScene.d | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sjplayer/src/sjplayer/PostEffect.d b/sjplayer/src/sjplayer/PostEffect.d index bab41ed..77c878e 100644 --- a/sjplayer/src/sjplayer/PostEffect.d +++ b/sjplayer/src/sjplayer/PostEffect.d @@ -25,7 +25,7 @@ class PostEffect { align(16) vec4 contrast = vec4(1, 1, 1, 1); /// - align(16) vec4 blur = vec4(0.3, 0.3, 0.3, 0); + align(16) vec4 blur = vec4(0.1, 0.1, 0.1, 0); } /// diff --git a/src/sj/LobbyWorld.d b/src/sj/LobbyWorld.d index a91507a..178e1a2 100644 --- a/src/sj/LobbyWorld.d +++ b/src/sj/LobbyWorld.d @@ -29,10 +29,10 @@ class LobbyWorld { background.outer_color = vec4(0, 0, 0, 0); cube_material.diffuse_color = vec3(0.1, 0.1, 0.1); - cube_material.light_color = vec3(1, 0.8, 0.8); + cube_material.light_color = vec3(1, 1, 1); cube_material.light_power = vec3(100, 100, 100); cube_material.ambient_color = vec3(0.2, 0.2, 0.2); - cube_material.specular_color = vec3(0.5, 0.2, 0.2); + cube_material.specular_color = vec3(0.2, 0.2, 0.2); } /// diff --git a/src/sj/SelectScene.d b/src/sj/SelectScene.d index 9ad3ffc..3d8b4ad 100644 --- a/src/sj/SelectScene.d +++ b/src/sj/SelectScene.d @@ -133,10 +133,10 @@ private abstract class AbstractSceneState { enum CubeRotationSpeed = vec3(0, PI/500, 0); enum CubeInterval = 0.005; - enum PlayingCubeRotationSpeed = vec3(PI/10, PI/70, PI/100); + enum PlayingCubeRotationSpeed = vec3(PI/100, PI/10, PI/100); enum PlayingCubeInterval = 0.04; - enum LoadingCubeRotationSpeed = vec3(0, PI/10, PI/10); + enum LoadingCubeRotationSpeed = vec3(PI/100, PI/10, PI/100); enum LoadingCubeInterval = 0.06; enum TitleTextSize = 40; @@ -348,7 +348,7 @@ private class MusicWaitState : AbstractSceneState { /// private class MusicPlayState : AbstractSceneState { public: - enum AnimeFrames = 120; + enum AnimeFrames = 60; this(SelectScene owner, MusicWaitState music_wait_state) { super(owner);