bevy/crates/bevy_pbr/src/light_probe
Sou1gh0st 9da18cce2a
Add support for environment map transformation (#14290)
# 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.
2024-07-19 15:00:50 +00:00
..
environment_map.rs Add support for environment map transformation (#14290) 2024-07-19 15:00:50 +00:00
environment_map.wgsl Add support for environment map transformation (#14290) 2024-07-19 15:00:50 +00:00
irradiance_volume.rs Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
irradiance_volume.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
light_probe.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
mod.rs Add support for environment map transformation (#14290) 2024-07-19 15:00:50 +00:00