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

validate shape keys on export #47

Open
ScanMountGoat opened this issue Aug 7, 2024 · 3 comments
Open

validate shape keys on export #47

ScanMountGoat opened this issue Aug 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ScanMountGoat
Copy link
Owner

Some original meshes and materials are designed to work with morph targets in game. This can cause confusing rendering issues in game if the user exports a model without shape keys in Blender.

@ScanMountGoat ScanMountGoat added the enhancement New feature or request label Aug 7, 2024
@tomasadam3
Copy link

Was wondering if you had any updates to share on this particular issue (not that I mean to rush you, just curious because I saw that you recently fixed a similar issue with exporting models without shape keys).

@ScanMountGoat
Copy link
Owner Author

The exporting issue that was fixed is related to how shape key data is stored in the wimdo file. This issue is related to the shaders and vertex attributes being different to enable shape key rendering in game. I don't plan on prioritizing this unless it causes hard crashes in game. The shape key data in the wimdo file also hasn't been researched much yet.

@tomasadam3
Copy link

Ah I see. In the meantime, I think I've found a workaround that suits my purposes. Seems like as long as you add unedited shape keys to the new mesh (whose assigned material was designed to work with morph targets) and name them the same as those in the original mesh, you can avoid the rendering issues in-game. Not sure if this is a perfect solution, or if it'll work with every model, but I figured it was worth mentioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants