mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
9da18cce2a
# Objective - Fixes: https://github.com/bevyengine/bevy/issues/14036 ## Solution - Add a world space transformation for the environment sample direction. ## Testing - I have tested the newly added `transform` field using the newly added `rotate_environment_map` example. https://github.com/user-attachments/assets/2de77c65-14bc-48ee-b76a-fb4e9782dbdb ## Migration Guide - Since we have added a new filed to the `EnvironmentMapLight` struct, users will need to include `..default()` or some rotation value in their initialization code. |
||
---|---|---|
.. | ||
animation_plugin.rs | ||
main.rs | ||
morph_viewer_plugin.rs | ||
scene_viewer_plugin.rs |