#ambientLight not working?

5 messages · Page 1 of 1 (latest)

bitter hemlock
#

I follow this youtube tutorial:
https://www.youtube.com/watch?v=f-Q8vOb5qRY
and set my scene with ambientlight like this:

    App::new()
        .insert_resource(ClearColor(Color::rgb(0.1, 0.0, 0.15)))
        .insert_resource(AmbientLight {
            color: Color::default(),
            brightness: 0.75,
        })

but my scene appear dark, seems like the ambientlight is not working at all.
what did I do wrong?
I am using bevy 0.13.0 on macos sonoma.

Welcome to 'Bevy Basics: Game Development Essentials in Bevy.'

This episode expands the code example and covers various common ECS patterns in Bevy, asset handling, user input, collisions, and more!

If you haven't seen the first two episodes yet, you can find the first episode here:
https://www.youtube.com/watch?v=B6ZFuYYZCSY.

Series Playlis...

▶ Play video
short blaze
#

Try to increase the brightness by a ton

bitter hemlock
#

i did increase to 3.0, still the same darkness

#

hmm, I increase to 500.0 only get to see the plane.

#

is there a big change from 0.12 to 0.13 on the ambientlignt?