-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add support for flipped UV coord generation w/ uv-cube-map-* fns #41
Comments
Hi @acron0 - so I found the problem and it's not a bug in this project, but has to do with the texture setup in our workshop example. We simply need to flip the texture (by setting |
:flags
to cull sides of aabb, texture maps to wrong faces
https://github.com/thi-ng/ws-ldn-8/blob/master/day1/ex03/src/ex03/webgl04.cljs
If you use
:flags :nesw
(for example) on the aabb, the texture appears to map to the wrong faces. So, 'front' and 'back' are removed but the texture still labels two of the sides 'front' and 'back' rather than 'east' and 'west'. It appears to have something to do with which faces are omitted, because:flags :ewfb
works fine.The text was updated successfully, but these errors were encountered: