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

Increase number of materials, per-face materials, fixups for 4.7 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChronosWS
Copy link

Change material array index type to uint16 to allow more materials.
Allow individual materials per-face.
Minor fixups for compilation warnings/errors for 4.7.
NOTE: To actually use per-face materials requires a shader which can
synthesize correct UV coordinates for the vertical faces - by default
the UV coordinates are mapped to the XY vertex coordinates.

Change material array index type to uint16 to allow more materials
Allow individual materials per-face
NOTE: To actually use per-face materials requires a shader which can
synthesize correct UV coordinates for the vertical faces - by default
the UV coordinates are mapped to the XY vertex coordinates.
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.

1 participant