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

Prefilter fix (engine v1) #6893

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

slimbuck
Copy link
Member

Fixes:
https://forum.playcanvas.com/t/bug-prefilter-cubemap-legacy-cubemap-failure/36797
https://forum.playcanvas.com/t/chrome-128-webgl-issue-breaks-project-the-provided-float-value-is-non-finite/36794

Chrome 128 introduced a bug where specifying undefined as a uniform parameter causes a browser failure.

This PR fixes this case when prefiltering cubemaps.

It also removes the dead uniforms.

@slimbuck slimbuck added bug area: graphics Graphics related issue labels Aug 28, 2024
@slimbuck slimbuck requested a review from a team August 28, 2024 10:38
@slimbuck slimbuck self-assigned this Aug 28, 2024
@slimbuck slimbuck mentioned this pull request Aug 28, 2024
@slimbuck slimbuck merged commit 04847c6 into playcanvas:main_v1 Aug 28, 2024
8 checks passed
@slimbuck slimbuck deleted the prefilter-fix branch August 28, 2024 10:57
slimbuck added a commit that referenced this pull request Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants