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

Check if screen space reflection has passed far clip #38954

Merged
merged 1 commit into from
Oct 18, 2020

Conversation

puchik
Copy link
Contributor

@puchik puchik commented May 22, 2020

Mirrors (ha) similar check in master/4.0 branch. Before "accepting" the reflection, check if it's within our view (prevents tracing environment and creating artifacts).

Closes #38953

image

image

@puchik puchik requested a review from reduz as a code owner May 22, 2020 08:10
@akien-mga akien-mga added this to the 3.2 milestone May 22, 2020
@akien-mga
Copy link
Member

Does the issue affect only GLES3 or also the GLES2 backend?

@puchik
Copy link
Contributor Author

puchik commented Jun 3, 2020

I don't think screen space reflections are supported in GLES2. They don't show after switching renderers and they aren't listed in the Environment options.

@akien-mga
Copy link
Member

Ah you're right :)

Before "accepting" the reflection, check if it's within our view (prevent tracing environment and creating artifacts).
@akien-mga akien-mga merged commit 4a92d21 into godotengine:3.2 Oct 18, 2020
@akien-mga
Copy link
Member

Thanks!

@puchik puchik deleted the ssr-far-clip branch March 19, 2021 04:29
@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 20, 2021
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.

4 participants