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

Enable face culling for fill extrusion layers #7252

Closed
wants to merge 3 commits into from

Conversation

anderco
Copy link
Contributor

@anderco anderco commented Sep 7, 2018

Follow up to #7178. See #7178 (comment)

This implements face culling as a new argument to Program::draw so that it can be enabled on layer by layer basis and also enables it for fill extrusion layers. Because of that, only the winding order of that type of layer is changed. If there would be a decision to enforce winding order for other layers that could be done incrementally.

brunoabinader and others added 3 commits September 7, 2018 17:51
Change the winding order of the vertices and enable face culling for
the fill extrusion layer so that backward facing triangles are
discarded.
@anderco anderco self-assigned this Sep 7, 2018
@ansis
Copy link
Contributor

ansis commented Sep 10, 2018

Closing in favour of #7178

@ansis ansis closed this Sep 10, 2018
@tmpsantos tmpsantos deleted the anderco-gl-face-culling branch October 26, 2018 15:19
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.

3 participants