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

Update note regarding 3D MSAA and foveated rendering #93685

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

decacis
Copy link
Contributor

@decacis decacis commented Jun 28, 2024

#83976 added support for 3D MSAA on the Compatibility renderer, but it also mentions that on platforms other than Android, foveated rendering will not work if MSAA is enabled.

I removed the note saying that 3D MSAA is not supported on compatibility and added a comment mentioning that foveated rendering won't work on platforms other than android if 3D MSAA is enabled and added the alternative/equivalent for desktop.

@decacis decacis requested a review from a team as a code owner June 28, 2024 00:00
@Calinou Calinou added this to the 4.3 milestone Jun 28, 2024
Copy link
Contributor

@Mickeon Mickeon left a comment

Choose a reason for hiding this comment

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

(Assuming this is factually accurate now)

@decacis
Copy link
Contributor Author

decacis commented Jun 28, 2024

@BastiaanOlij can probably verify the information, since he's the author of the PR I mentioned

@BastiaanOlij
Copy link
Contributor

Almost good, indeed, foveated rendering + MSAA only works on Android (provided certain OpenGL extensions are available, but they will be on all current XR hardware). Otherwise MSAA rendering happens in a separate buffer, and as that isn't provided by OpenXR, foveated rendering is not enabled on that buffer.

Also the VRS_MODE alternative only works on Vulkan.

godotengine#83976 added support for 3D MSAA on the Compatibility renderer, but it also mentions that on platforms other than Android, foveated rendering will not work if MSAA is enabled.

I removed the note saying that 3D MSAA is not supported on compatibility and added a comment mentioning that foveated rendering won't work on platforms other than android if 3D MSAA is enabled and added the alternative/equivalent for desktop.
@decacis
Copy link
Contributor Author

decacis commented Jun 29, 2024

I forgot about VRS being Vulkan only! I believe now it should be good, but let me know otherwise.

Copy link
Contributor

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

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

Looks good to me

@akien-mga akien-mga merged commit f64f1b3 into godotengine:master Jun 29, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@decacis decacis deleted the patch-1 branch June 30, 2024 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants