Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controllable ambient light color #852

Merged
merged 4 commits into from
Nov 15, 2020
Merged

Controllable ambient light color #852

merged 4 commits into from
Nov 15, 2020

Conversation

no1hitjam
Copy link
Contributor

I added an AmbientLight resource that controls the ambient light color in the current PBR fragment shader. Hopefully I'm not stepping on the toes of the active work being done on the real PBR shader.

The AmbientLight resource now controls the ambient light color in the
pbr fragment shader.
Copy link
Member

@cart cart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a nice interim solution while we wait for a more advanced lighting system. Thanks!

crates/bevy_pbr/src/render_graph/lights_node.rs Outdated Show resolved Hide resolved
@karroffel karroffel added C-Feature A new feature, making something new possible A-Rendering Drawing game state to the screen labels Nov 13, 2020
@cart cart merged commit 18195bf into bevyengine:master Nov 15, 2020
@DJMcNab
Copy link
Member

DJMcNab commented Jul 6, 2021

@no1hitjam please respond in #2373 for the relicense to MIT/Apache 2.0. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants