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

Incorrect vertex order #4

Open
jcxz opened this issue Apr 16, 2019 · 0 comments
Open

Incorrect vertex order #4

jcxz opened this issue Apr 16, 2019 · 0 comments

Comments

@jcxz
Copy link

jcxz commented Apr 16, 2019

The order of vertices you are using for the the fullscreen quad in hp_drawLightfield() is wrong. Your vertices are in clockwise order instead of the OpenGL default counterclockwise order. Right now to see any output from hp_drawLightfield(), one has to either disable face culling or switch vertex winding with glFrontFace(GL_CW).

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