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

Add alpha texture import #78

Open
seacat17 opened this issue Jan 4, 2025 · 0 comments
Open

Add alpha texture import #78

seacat17 opened this issue Jan 4, 2025 · 0 comments

Comments

@seacat17
Copy link

seacat17 commented Jan 4, 2025

Describe the project you are working on

A 3D demo.

Describe the problem or limitation you are having in your project

I have downloaded multiple CC0 models and textures and they all make a material that can be used in the project. The problem is that the alpha textures are stored separately sometimes and this creates a problem - there's nowhere I can import alpha textures in.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

It's simple. There should be an option to import the texture that will be used as an alpha channel, like this one.
modular_chainlink_fence_wire_alpha_1k

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I import the diffuse texture, I switch the material transparency mode to anything related with Alpha and the engine displays a checkbox that says "External alpha texture". When this checkbox is checked, the engine gives me an ability to import the external alpha texture that it will apply to the diffuse texture.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No.

Is there a reason why this should be core and not an add-on in the asset library?

Many CC0 materials and models come with textures that do not have an alpha channel so instead the alpha texture is stored separately. It is rather tedious to apply everything manually in GIMP.

EDIT: To make it worse, GIMP doesn't even have the feature that is needed to properly apply alpha textures, so it's up to you guys to fix this problem.

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