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

Export texture include alpha channel only when needed while exporting glTF. #968

Closed
Santarh opened this issue May 21, 2021 · 2 comments
Closed

Comments

@Santarh
Copy link
Contributor

Santarh commented May 21, 2021

アルファチャンネル不要なテクスチャでも Export 時にアルファチャンネルを含んで Export されてしまう場合があるので、どうにかできないか調べる

@Santarh
Copy link
Contributor Author

Santarh commented May 25, 2021

Texture2D の Format が RGB24 であればアルファチャンネルを生成しないらしい

https://docs.unity3d.com/jp/current/ScriptReference/ImageConversion.EncodeToPNG.html

@Santarh
Copy link
Contributor Author

Santarh commented Jul 15, 2021

Solved

@Santarh Santarh closed this as completed Jul 15, 2021
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