SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

Store view environment map rotation in `LightProbesUniform` and remove `EnvironmentMapUniform` (#24095)

# Objective

Fixes
https://github.com/bevyengine/bevy/issues/24084#issuecomment-4365309756
Also fixes `EnvironmentMapLight::rotation` if it is attached to a view.

## Solution

Store view environment map rotation in `LightProbesUniform` and remove
`EnvironmentMapUniform`

## Testing

The examples works:
```
cargo r --example pccm --features free_camera,https
cargo r --example light_probe_blending --features free_camera,https
cargo r --example rotate_environment_map --features pbr_multi_layer_material_textures
```
L
Luo Zhihao committed
eaa8d42f603c7f0e8fd4c1484a9f783789dd6ab4
Parent: 5024207
Committed by GitHub <noreply@github.com> on 5/6/2026, 4:58:16 PM