[update] Improved shading parameters.

This commit is contained in:
falsycat 2019-10-16 00:00:00 +00:00
parent f0b1f19608
commit a5be4fd519
3 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ class PostEffect {
align(16) vec4 contrast = vec4(1, 1, 1, 1); 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);
} }
/// ///

View File

@ -29,10 +29,10 @@ class LobbyWorld {
background.outer_color = vec4(0, 0, 0, 0); background.outer_color = vec4(0, 0, 0, 0);
cube_material.diffuse_color = vec3(0.1, 0.1, 0.1); 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.light_power = vec3(100, 100, 100);
cube_material.ambient_color = vec3(0.2, 0.2, 0.2); 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);
} }
/// ///

View File

@ -133,10 +133,10 @@ private abstract class AbstractSceneState {
enum CubeRotationSpeed = vec3(0, PI/500, 0); enum CubeRotationSpeed = vec3(0, PI/500, 0);
enum CubeInterval = 0.005; 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 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 LoadingCubeInterval = 0.06;
enum TitleTextSize = 40; enum TitleTextSize = 40;
@ -348,7 +348,7 @@ private class MusicWaitState : AbstractSceneState {
/// ///
private class MusicPlayState : AbstractSceneState { private class MusicPlayState : AbstractSceneState {
public: public:
enum AnimeFrames = 120; enum AnimeFrames = 60;
this(SelectScene owner, MusicWaitState music_wait_state) { this(SelectScene owner, MusicWaitState music_wait_state) {
super(owner); super(owner);