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

Feature suggestion: Alpha-values in vertex-colours, and additional vertex layers #36

Open
ArsThaumaturgis opened this issue Oct 5, 2018 · 1 comment

Comments

@ArsThaumaturgis
Copy link

(As far as I see, GitHub doesn't seem to allow pull requests for specific commits. So I hope that it's okay that I'm simply creating issues for my commits, and linking to them to reference the changes. >_<)

This commit includes two changes that I feel are somewhat similar, and somewhat connected.

The first change allows the user to export vertex colours with an alpha channel. Since Blender doesn't (as far as I'm aware) support vertex-colours with an alpha channel, this is done by adding a second layer of vertex-colours in Blender, with the "red" channel being interpreted as the "alpha" channel.

The second allows YABEE to export layers from the third onwards (as the second is used as described above) as "aux" layers.

(A quick note: I've used British English in naming the resultant shader-input. I imagine that it would make sense to change this to match the Panda's convention if the changes are accepted.)

Commit reference: ArsThaumaturgis@39e2abf

@ArsThaumaturgis
Copy link
Author

It occurs to me that it makes sense to link the relevant "pull request" here: ArsThaumaturgis#2

(Note that it was made in my own fork in order to isolate the changes. My apologies if there was a better way to do so, given that I had already made the commits when I came to do this! ^^;)

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