#(RESOLVED) AmbientLight problem with Bevy 0.13 (have updated brightness)

3 messages · Page 1 of 1 (latest)

haughty shuttle
#

AmbientLight problem with Bevy 0.13 (have updated brightness)

#

Camera

commands.spawn((
        Camera3dBundle {
            transform: Transform::from_xyz(0.0, 20.0, 0.0),
            camera: Camera {
                // renders after / on top of other cameras
                clear_color: ClearColorConfig::Default,
                ..default()
            },
            projection: OrthographicProjection {
                far: 100.0,
                near: -100.0,
                // this is how far the camera is away from the focus
                scale: 4.0,
                scaling_mode: ScalingMode::FixedVertical(2.0),
                ..default()
            }
            .into(),
            ..default()
        },
        MainCamera,
    ));
#

(RESOLVED) AmbientLight problem with Bevy 0.13 (have updated brightness)