bevy/crates/bevy_core_pipeline
Robert Swain 22dfa9ee96
skybox.wgsl: Fix precision issues (#9909)
# Objective

- Fixes #9707 

## Solution

- At large translations (a few thousand units), the precision of
calculating the ray direction from the fragment world position and
camera world position seems to break down. Sampling the cubemap only
needs the ray direction. As such we can use the view space fragment
position, normalise it, rotate it to world space, and use that.

---

## Changelog

- Fixed: Jittery skybox at large translations.
2023-09-23 22:11:59 +00:00
..
src skybox.wgsl: Fix precision issues (#9909) 2023-09-23 22:11:59 +00:00
Cargo.toml Bump Version after Release (#9106) 2023-07-10 21:19:27 +00:00