bevyengine / bevyengine/bevy

Atmospheric scattering on some DirectionalLight's but not all?

Open
#21,748 3 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Feature D-Straightforward S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

The ability to use Atmosphere to create atmospheric scattering for sunsets/sunrises is really amazing for sun DirectionalLight's. But it makes less sense if you also have a moon in the sky, which is a much dimmer light than the sun. (You might have both at the same time if you're transitioning from day to night or vice versa, on opposite sides)

## What solution would you like?

Would like to see a way to disable the atmospheric scattering / sunset / sunrise effect on some DirectionalLight's. Ideally you'd opt into the DirectionalLights you want it on rather than having it applied across the board.

## What alternative(s) have you considered?

Not sure of any.

## Additional context

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.