@@ -26,31 +26,31 @@ fn setup(
26
26
clear_color : ClearColorConfig :: Custom ( Color :: BLACK ) ,
27
27
..default ( )
28
28
} ,
29
- Tonemapping :: TonyMcMapface , // 2 . Using a tonemapper that desaturates to white is recommended
30
- Bloom :: default ( ) , // 3 . Enable bloom for the camera
29
+ Tonemapping :: TonyMcMapface , // 1 . Using a tonemapper that desaturates to white is recommended
30
+ Bloom :: default ( ) , // 2 . Enable bloom for the camera
31
31
DebandDither :: Enabled , // Optional: bloom causes gradients which cause banding
32
32
) ) ;
33
33
34
34
// Sprite
35
35
commands. spawn ( Sprite {
36
36
image : asset_server. load ( "branding/bevy_bird_dark.png" ) ,
37
- color : Color :: srgb ( 5.0 , 5.0 , 5.0 ) , // 4 . Put something bright in a dark environment to see the effect
37
+ color : Color :: srgb ( 5.0 , 5.0 , 5.0 ) , // 3 . Put something bright in a dark environment to see the effect
38
38
custom_size : Some ( Vec2 :: splat ( 160.0 ) ) ,
39
39
..default ( )
40
40
} ) ;
41
41
42
42
// Circle mesh
43
43
commands. spawn ( (
44
44
Mesh2d ( meshes. add ( Circle :: new ( 100. ) ) ) ,
45
- // 4 . Put something bright in a dark environment to see the effect
45
+ // 3 . Put something bright in a dark environment to see the effect
46
46
MeshMaterial2d ( materials. add ( Color :: srgb ( 7.5 , 0.0 , 7.5 ) ) ) ,
47
47
Transform :: from_translation ( Vec3 :: new ( -200. , 0. , 0. ) ) ,
48
48
) ) ;
49
49
50
50
// Hexagon mesh
51
51
commands. spawn ( (
52
52
Mesh2d ( meshes. add ( RegularPolygon :: new ( 100. , 6 ) ) ) ,
53
- // 4 . Put something bright in a dark environment to see the effect
53
+ // 3 . Put something bright in a dark environment to see the effect
54
54
MeshMaterial2d ( materials. add ( Color :: srgb ( 6.25 , 9.4 , 9.1 ) ) ) ,
55
55
Transform :: from_translation ( Vec3 :: new ( 200. , 0. , 0. ) ) ,
56
56
) ) ;
0 commit comments