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

RenderPassCameraFrame exposes HDR formats #6969

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Sep 19, 2024

  • this allows the users to specify preference of the HDR format used for rendering
  • also, when no HDR format is supported, the bloom is automatically disabled as non-supported

@mvaligursky mvaligursky self-assigned this Sep 19, 2024
@mvaligursky mvaligursky added area: graphics Graphics related issue enhancement labels Sep 19, 2024
@mvaligursky mvaligursky requested a review from a team September 19, 2024 08:54
@mvaligursky mvaligursky merged commit cb2115b into main Sep 19, 2024
7 of 8 checks passed
@mvaligursky mvaligursky deleted the mv-hdr-formats-api branch September 19, 2024 09:13
Comment on lines +149 to +152
const arraysNotEqual = (arr1, arr2) => arr1 !== arr2 &&
(!(Array.isArray(arr1) && Array.isArray(arr2)) ||
arr1.length !== arr2.length ||
!arr1.every((value, index) => value === arr2[index]));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spent few minutes looking for this and didn't find it .. I though I removed it in 2.0 :)
Will adjust, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants