mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
22dfa9ee96
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |