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

Rendering updates (better alpha support) #396

Merged
merged 12 commits into from
Apr 2, 2024
Merged

Conversation

rherriman
Copy link
Member

No description provided.

@rherriman
Copy link
Member Author

This is technically still not "deferred rendering," but it does contain a number of rendering updates in preparation for it. Notably MSAA has been replaced with FXAA, and the rendering of polygons with alpha is done after all the opaque polys are rendered, fixing numerous rendering problems with alpha objects culling out things behind them. An attempt to sort the alpha polygons has also been made, but I'm convinced it could be better as there are still occasional issues depending on viewing angle.

Given the improvements thus far it seemed like a good idea to merge this in sooner rather than later.

changed from computing centroid to circumcenter (approx) of triangles
then computing distance to that point.
@rherriman rherriman merged commit 81d77da into main Apr 2, 2024
3 checks passed
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