Skip to content

Add EnvironmentMapLight::with_intensity builder method#24692

Merged
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
tylercritchlow:env-map-light-with-intensity
Jun 22, 2026
Merged

Add EnvironmentMapLight::with_intensity builder method#24692
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
tylercritchlow:env-map-light-with-intensity

Conversation

@tylercritchlow

Copy link
Copy Markdown
Contributor

closes #23911

Objective

  • Add a way to set the intensity of an EnvironmentMapLight.

Solution

  • Create a builder-style with_intensity method so that you can set intensity easily while constructing.
EnvironmentMapLight::hemispherical_gradient(assets, sky, horizon, ground)
    .with_intensity(250.0)

Testing

  • This is a small convenience method with no behavioral change to existing code, so no new tests were added.
  • CI

@kfc35 kfc35 added D-Trivial Nice and easy! A great choice to get started with Bevy A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Jun 21, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering Jun 21, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jun 22, 2026
Merged via the queue into bevyengine:main with commit 470e549 Jun 22, 2026
38 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in Rendering Jun 22, 2026
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-Usability A targeted quality-of-life change that makes Bevy easier to use D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Expose intensity on EnvironmentMapLight::solid_color

5 participants