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

Fix textureSampleBias #3989

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Fix textureSampleBias #3989

merged 1 commit into from
Oct 9, 2024

Commits on Oct 9, 2024

  1. Fix textureSampleBias

    The default gradient mult used [1,1,1] and then set one
    of them the value that would generate the required mipLevel.
    But that was ignoring the that if the required mipLevel is
    less then 0 the 1s left over would generate a mipLevel of 0.
    
    For now, make the default [0,0,0]. Another alternative
    would be to set them all to the desired value that generates
    the desired mipLevel or, we could set them to something less
    than the value that generates the desired mip level.
    greggman committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8991e6b View commit details
    Browse the repository at this point in the history