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

Support raymarching distance in prepass, shading in main pass #16

Open
Shfty opened this issue Mar 30, 2023 · 0 comments
Open

Support raymarching distance in prepass, shading in main pass #16

Shfty opened this issue Mar 30, 2023 · 0 comments

Comments

@Shfty
Copy link
Contributor

Shfty commented Mar 30, 2023

Seeing as #15 is non-viable for now, the prepass could be put to better use by building the SDF equivalent of the basic depth shader. This would allow the fragment shader to skip raymarching entirely when the prepass is enabled, putting its implementation more in line with a regular geometry-based fragment shader beyond the initial texture read.

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

No branches or pull requests

1 participant