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

Always obtain sky color if reflection hit nothing #342

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

res2k
Copy link
Contributor

@res2k res2k commented Oct 8, 2023

This fixes sky not showing up behind transparent surfaces if pt_enable_nodraw is set to 1.

FWIW, I suspect that the found_intersection(...) check was there for a reason?
Do you remember why and/or recall any scenarios when getting the sky color may look ugly?

@apanteleev apanteleev merged commit cd31f1a into NVIDIA:master Oct 12, 2023
2 checks passed
@res2k res2k deleted the fix-sky-behind-transparency branch November 20, 2023 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants