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

Model missing Alpha when importing or exporting #13

Open
ArchDome opened this issue Mar 9, 2024 · 2 comments
Open

Model missing Alpha when importing or exporting #13

ArchDome opened this issue Mar 9, 2024 · 2 comments

Comments

@ArchDome
Copy link

ArchDome commented Mar 9, 2024

I'm trying to modify a fence mesh from Say Hello to my Little Friend, but after exporting the mesh, the model is missing it's alpha when I open the file in blender.

The unedited mesh inside C47 edit:
image

The mesh once it's pulled into blender:
image

I took the texture file into photoshop and created my own alpha texture. And was able to apply this to the model within blender:
image

However when I try to import this updated model from blender inside C47 edit the alpha is missing. (The jagged edges are from moving the vertices inside blender)

image

@AdrienTD
Copy link
Owner

Currently the editor doesn't check if the material has alpha clipping during import and export, but that's something that could be easily implemented in the future.

In the meantime, if you want to turn alpha clipping on the material after importing it to the editor, there is a "debug" feature that should let you do that: in the Object Information, after importing your model, expand the "FTXO" header, you will a list of hexadecimal numbers like "0020 0000 WXYZ 0000 0000 0000". Click the "Edit" button, then type in the same numbers, except in the first number make the second digit a 2, like this "0220 0000 WXYZ 0000 0000 0000" (replace WXYZ with original number). This will set the flag that enables alpha clipping on the material.
image

@ArchDome
Copy link
Author

ArchDome commented Jul 3, 2024

This is a very late reply, but thanks! That did the trick! And thanks to your tool I was able to make a simple little mod

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

2 participants