bevy/crates/bevy_pbr/src
JMS55 f0f5d79917
Built-in skybox (#8275)
# Objective

- Closes https://github.com/bevyengine/bevy/issues/8008

## Solution

- Add a skybox plugin that renders a fullscreen triangle, and then
modifies the vertices in a vertex shader to enforce that it renders as a
skybox background.
- Skybox is run at the end of MainOpaquePass3dNode.
- In the future, it would be nice to get something like bevy_atmosphere
built-in, and have a default skybox+environment map light.

---

## Changelog

- Added `Skybox`.
- `EnvironmentMapLight` now renders in the correct orientation.

## Migration Guide
- Flip `EnvironmentMapLight` maps if needed to match how they previously
rendered (which was backwards).

---------

Co-authored-by: Robert Swain <robert.swain@gmail.com>
Co-authored-by: robtfm <50659922+robtfm@users.noreply.github.com>
2023-04-02 10:57:12 +00:00
..
environment_map Built-in skybox (#8275) 2023-04-02 10:57:12 +00:00
prepass Temporal Antialiasing (TAA) (#7291) 2023-03-27 22:22:40 +00:00
render Use the prepass normal texture in main pass when possible (#8231) 2023-03-29 18:04:40 +00:00
alpha.rs Standard Material Blend Modes (#6644) 2023-01-21 21:46:53 +00:00
bundle.rs Cascaded shadow maps. (#7064) 2023-01-25 12:35:39 +00:00
fog.rs Add Distance and Atmospheric Fog support (#6412) 2023-01-29 15:28:56 +00:00
lib.rs Split opaque and transparent phases (#8090) 2023-03-28 06:35:16 +00:00
light.rs Add orthographic camera support back to directional shadows (#7796) 2023-03-02 08:04:46 +00:00
material.rs Use the prepass normal texture in main pass when possible (#8231) 2023-03-29 18:04:40 +00:00
pbr_material.rs Temporal Antialiasing (TAA) (#7291) 2023-03-27 22:22:40 +00:00
wireframe.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00