Use proper UV in cubemap downsampler raster (Fixes reflections in mobile renderer) #76692
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #55878
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented
Hint: review with whitespace hidden as most of the changes here are whitespace related
Before:
![Screenshot from 2023-05-03 01-07-33](https://user-images.githubusercontent.com/16521339/235863086-42c9457d-32f8-4596-9f2b-8a873780fb45.png)
After:
![Screenshot from 2023-05-03 01-08-56](https://user-images.githubusercontent.com/16521339/235863078-e352965f-a05a-4345-90a1-92ced551e665.png)
Forward+
![Screenshot from 2023-05-03 01-07-57](https://user-images.githubusercontent.com/16521339/235863085-261133b2-15b8-4121-9845-01344780cbe5.png)