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

Request: only draw exposed block faces in cave mode #1363

Open
bgulanowski opened this issue Feb 13, 2017 · 1 comment
Open

Request: only draw exposed block faces in cave mode #1363

bgulanowski opened this issue Feb 13, 2017 · 1 comment

Comments

@bgulanowski
Copy link

Cave mode rendering draws entire blocks. Ideally, it would only draw the face of the block which is exposed (adjacent to air or fluid). The extra drawn surfaces make the rendering noisy. It's hard to tell what is actual surface.

Conceptually, cave should work more like a 3D renderer when the point-of-view is in the void. This effect is sometimes seen in Minecraft itself, due to a bug that causes near chunks to not be drawn, allowing a view of caves underground.

Algorithmically, this could possibly be achieved by only drawing surfaces that meet two requirements: they touch air, and they face towards the point-of-view.

@CounterPillow
Copy link
Member

This is currently not easily implementable since we create the block models as sprites, and then no longer have any concept of their sides once we draw them.

Maybe once OIL gets done, or whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants