-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Add Distance and Atmospheric Fog support #6412
Commits on Oct 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 014a9cb - Browse repository at this point
Copy the full SHA 014a9cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6458025 - Browse repository at this point
Copy the full SHA 6458025View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfbd7f6 - Browse repository at this point
Copy the full SHA dfbd7f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7afc3e - Browse repository at this point
Copy the full SHA d7afc3eView commit details
Commits on Oct 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fb588a5 - Browse repository at this point
Copy the full SHA fb588a5View commit details
Commits on Nov 1, 2022
-
Make
Fog
aComponent
instead of aResource
Allowing independent per-camera configuration
Configuration menu - View commit details
-
Copy full SHA for 0d2afb9 - Browse repository at this point
Copy the full SHA 0d2afb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8855bdd - Browse repository at this point
Copy the full SHA 8855bddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7fb67e - Browse repository at this point
Copy the full SHA f7fb67eView commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8c8aa79 - Browse repository at this point
Copy the full SHA 8c8aa79View commit details -
Configuration menu - View commit details
-
Copy full SHA for d999308 - Browse repository at this point
Copy the full SHA d999308View commit details -
Configuration menu - View commit details
-
Copy full SHA for c446fcc - Browse repository at this point
Copy the full SHA c446fccView commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2138dfc - Browse repository at this point
Copy the full SHA 2138dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c478f - Browse repository at this point
Copy the full SHA b7c478fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db1eca0 - Browse repository at this point
Copy the full SHA db1eca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e7f6c3 - Browse repository at this point
Copy the full SHA 1e7f6c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b8a196 - Browse repository at this point
Copy the full SHA 6b8a196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d2a41a - Browse repository at this point
Copy the full SHA 6d2a41aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de98fd - Browse repository at this point
Copy the full SHA 7de98fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 505a5a2 - Browse repository at this point
Copy the full SHA 505a5a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e13c5c3 - Browse repository at this point
Copy the full SHA e13c5c3View commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5d8f708 - Browse repository at this point
Copy the full SHA 5d8f708View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7a4a98 - Browse repository at this point
Copy the full SHA e7a4a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddb4eb9 - Browse repository at this point
Copy the full SHA ddb4eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48295a0 - Browse repository at this point
Copy the full SHA 48295a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a88d0e - Browse repository at this point
Copy the full SHA 7a88d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50f0f50 - Browse repository at this point
Copy the full SHA 50f0f50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00226a3 - Browse repository at this point
Copy the full SHA 00226a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e18f682 - Browse repository at this point
Copy the full SHA e18f682View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f01e2 - Browse repository at this point
Copy the full SHA e4f01e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e626862 - Browse repository at this point
Copy the full SHA e626862View commit details -
Configuration menu - View commit details
-
Copy full SHA for 270dcd9 - Browse repository at this point
Copy the full SHA 270dcd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ecba3b - Browse repository at this point
Copy the full SHA 8ecba3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68447a2 - Browse repository at this point
Copy the full SHA 68447a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a5b07 - Browse repository at this point
Copy the full SHA a2a5b07View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4ee547 - Browse repository at this point
Copy the full SHA a4ee547View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0195d3 - Browse repository at this point
Copy the full SHA e0195d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e830d93 - Browse repository at this point
Copy the full SHA e830d93View commit details -
Configuration menu - View commit details
-
Copy full SHA for a998fa8 - Browse repository at this point
Copy the full SHA a998fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c608a75 - Browse repository at this point
Copy the full SHA c608a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for aeafcc7 - Browse repository at this point
Copy the full SHA aeafcc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecea533 - Browse repository at this point
Copy the full SHA ecea533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73ad380 - Browse repository at this point
Copy the full SHA 73ad380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3323542 - Browse repository at this point
Copy the full SHA 3323542View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92dac89 - Browse repository at this point
Copy the full SHA 92dac89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 256fce6 - Browse repository at this point
Copy the full SHA 256fce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for be50d07 - Browse repository at this point
Copy the full SHA be50d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a41cd - Browse repository at this point
Copy the full SHA 50a41cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a35783a - Browse repository at this point
Copy the full SHA a35783aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8261011 - Browse repository at this point
Copy the full SHA 8261011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11f1bb5 - Browse repository at this point
Copy the full SHA 11f1bb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb330c - Browse repository at this point
Copy the full SHA cbb330cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf668da - Browse repository at this point
Copy the full SHA bf668daView commit details
Commits on Nov 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e3b65c8 - Browse repository at this point
Copy the full SHA e3b65c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 036fbd3 - Browse repository at this point
Copy the full SHA 036fbd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f3b0c4 - Browse repository at this point
Copy the full SHA 9f3b0c4View commit details -
Use “glow” instead of “halo” in explanation
Turns out “halo” is a specific, actual atmospheric effect (caused by ice crystals) we might want to support in the future.
Configuration menu - View commit details
-
Copy full SHA for 49a3f1e - Browse repository at this point
Copy the full SHA 49a3f1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9056c0 - Browse repository at this point
Copy the full SHA f9056c0View commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c9b359 - Browse repository at this point
Copy the full SHA 3c9b359View commit details
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e123574 - Browse repository at this point
Copy the full SHA e123574View commit details
Commits on Nov 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2664ca1 - Browse repository at this point
Copy the full SHA 2664ca1View commit details
Commits on Nov 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d54dce2 - Browse repository at this point
Copy the full SHA d54dce2View commit details
Commits on Nov 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ccfb0ce - Browse repository at this point
Copy the full SHA ccfb0ceView commit details
Commits on Jan 15, 2023
-
Break up long lines in WGSL shaders for readability
Co-authored-by: Robert Swain <robert.swain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6ab1188 - Browse repository at this point
Copy the full SHA 6ab1188View commit details -
Configuration menu - View commit details
-
Copy full SHA for f44e381 - Browse repository at this point
Copy the full SHA f44e381View commit details -
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for aa3fef7 - Browse repository at this point
Copy the full SHA aa3fef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1cebd2 - Browse repository at this point
Copy the full SHA f1cebd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ceb4c - Browse repository at this point
Copy the full SHA f9ceb4cView commit details
Commits on Jan 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 820a6b1 - Browse repository at this point
Copy the full SHA 820a6b1View commit details -
Make sure
apply_fog()
function is not defined during normal prepassOtherwise the shader will fail compilation, since the `fog` uniform, defined in `bevy_pbr::mesh_view_bindings` will not be available, since that file is not imported by the prepass shader. (but `bevy_pbr::pbr_functions` is)
Configuration menu - View commit details
-
Copy full SHA for cd11d43 - Browse repository at this point
Copy the full SHA cd11d43View commit details -
Configuration menu - View commit details
-
Copy full SHA for df77ce3 - Browse repository at this point
Copy the full SHA df77ce3View commit details
Commits on Jan 28, 2023
-
Fix code for creating exponential squared fog
Both math and enum variants were off Co-authored-by: robtfm <50659922+robtfm@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 15afdfb - Browse repository at this point
Copy the full SHA 15afdfbView commit details -
Remove unused
KOSCHMIEDER_CONTRAST_THRESHOLD
constantCo-authored-by: robtfm <50659922+robtfm@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c4eb571 - Browse repository at this point
Copy the full SHA c4eb571View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28f4fb0 - Browse repository at this point
Copy the full SHA 28f4fb0View commit details -
Reorder
GpuFog
fields for better struct packingHopefully reducing GPU-side memory consumption and improving transfer speeds Co-authored-by: Robert Swain <robert.swain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8b99f6f - Browse repository at this point
Copy the full SHA 8b99f6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e3ab2c - Browse repository at this point
Copy the full SHA 1e3ab2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fd6a42 - Browse repository at this point
Copy the full SHA 5fd6a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c4d4e9 - Browse repository at this point
Copy the full SHA 8c4d4e9View commit details -
Use multiplication instead of
pow()
with2.0
That way it's slightly faster if the compiler doesn't optimize it Co-authored-by: Robert Swain <robert.swain@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4608dbd - Browse repository at this point
Copy the full SHA 4608dbdView commit details -
Pass fragment and view positions and calculate
view_to_world
in `ap……ply_fog()` Thus simplifying future replacement of `apply_fog()` function for non-uniform (e.g. height-based) fogs.
Configuration menu - View commit details
-
Copy full SHA for fee838d - Browse repository at this point
Copy the full SHA fee838dView commit details