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

Improve glsl shader performance #211

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Improve glsl shader performance #211

wants to merge 9 commits into from

Commits on Oct 11, 2024

  1. Reduce amount of attributes for depth pass

    Use fragment depth from built-in gl_FragCoord instead of our own depth attribute
    uis246 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    be502a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd1d6c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29fb1a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fe7d983 View commit details
    Browse the repository at this point in the history
  5. Small change to offset mapping

    Adds few fps. Function seems to be too complex for my understanding.
    uis246 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    fdbf761 View commit details
    Browse the repository at this point in the history
  6. More saturated math

    uis246 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    6ac53a5 View commit details
    Browse the repository at this point in the history
  7. Replace more of max(0, x) with saturation

    Saturated sum of positive values is equal to saturated sum of saturated values
    uis246 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    591a6b7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    92d0d29 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    be1c7fc View commit details
    Browse the repository at this point in the history