Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5decb61

Browse files
committed
fix color in skybox
1 parent84bc3e4 commit5decb61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/scene/skybox.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn add_skybox_to_camera(
3030
Sun,
3131
DespawnOnExit(Screen::Gameplay),
3232
DirectionalLight{
33-
color:SUN,
33+
color:colors::SUN,
3434
shadows_enabled:true,
3535
illuminance: light_consts::lux::FULL_DAYLIGHT,
3636
..Default::default()
@@ -43,7 +43,7 @@ pub fn add_skybox_to_camera(
4343
Moon,
4444
DespawnOnExit(Screen::Gameplay),
4545
DirectionalLight{
46-
color:MOON,
46+
color:colors::MOON,
4747
shadows_enabled:true,
4848
illuminance: lux::FULL_MOON_NIGHT,
4949
..Default::default()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp