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

DRAFT: Translucency sorting #1687

Closed

Conversation

MCRcortex
Copy link
Contributor

Draft GPU driven translucency sorting

@@ -16,6 +16,7 @@ public class SodiumPreLaunch implements PreLaunchEntrypoint {

@Override
public void onPreLaunch() {
System.load("C:\\Program Files\\RenderDoc\\renderdoc.dll");
Copy link
Contributor

Choose a reason for hiding this comment

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

you probably don't wnat to PR this?

@NathanaelLane
Copy link

As mentioned in this reddit thread, render order follows a planar generalization of the classic DDA algorithm, which means that with some clever bookkeeping it's not technically necessary to do a full sort-- this could possibly be exploited to exchange the BTMS for a straightforward shuffle routine. (Well, assuming you haven't considered this already 🙂 )

@douira
Copy link
Collaborator

douira commented May 12, 2023

We have to take into account that the translucent quads we're sorting aren't necessarily axis-aligned or part of complete voxels. Water being the prime example.

@douira
Copy link
Collaborator

douira commented Jun 30, 2023

Relevant to the translucency sorting endeavor and this PR in particular as it's in need of a triggering mechanism: I wrote a whole bunch about a new plane-crossing based translucency sorting triggering mechanism in this document https://hackmd.io/@douira100/sodium-sl-gfni

@jellysquid3 jellysquid3 deleted the branch CaffeineMC:1.19.3/dev September 12, 2023 19:38
@nonetrix
Copy link

Was this fixed???

@hexadecimal233
Copy link

just closed ig

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.

7 participants