Skip to content
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] - Use the infinite reverse right-handed perspective projection #2543

Commits on Aug 25, 2021

  1. Configuration menu
    Copy the full SHA
    ec62a80 View commit details
    Browse the repository at this point in the history
  2. bevy_render2/bevy_pbr2: Use the infinite reverse rh perspective proje…

    …ction
    
    This projection is industry standard and offers better precision distribution
    over the depth range than forward projections.
    superdump committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    ace8a66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4d4def View commit details
    Browse the repository at this point in the history
  4. bevy_render2/_pbr2/_sprite2: Add useful matrices to view and mesh uni…

    …forms
    
    view, inverse view, projection, and inverse projection are commonly-used matrices from the view. model and inverse transpose model are commonly-used matrices for meshes.
    superdump committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    a41cc5f View commit details
    Browse the repository at this point in the history
  5. bevy_pbr2: Fix transformation of normals

    Normals should be transformed by the inverse transpose of the model matrix to correctly transform their scale.
    superdump committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    17a7f99 View commit details
    Browse the repository at this point in the history
  6. bevy_pbr2: Correct detection of an orthographic projection

    A projection is not orthographic if the view projection matrix bottom-right
    element is 1.0, rather if the projection matrix bottom-right value is 1.0.
    Now the projection matrix is bound, this fix is possible.
    superdump committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    546d7b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dc9e501 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Configuration menu
    Copy the full SHA
    0ab73d8 View commit details
    Browse the repository at this point in the history
  2. bevy_pbr2: Cleanup

    superdump committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    cf8a4ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ee8f32 View commit details
    Browse the repository at this point in the history