Skip to content

[Bug Report] Tool creates duplicated textures if shared across materials. #178

@SymphonyVR

Description

@SymphonyVR

Describe the bug / バグの説明

If we have a texture that is used in more than 1 material a texture is created per material instead of having a shared texture for all of the material instances.

To Reproduce / 再現手順

Example:

  1. Put the same texture in the albedo channel of 2 or more materials.
  2. Convert the avatar by using the "Convert" option
  3. Check in the output folder that we have the texture and material duplicated.

Expected behavior / 期待する動作

It should merge the textures and materials if they are the same to save in vram and size.

Screenshots / スクリーンショット

No response

Used assets / 使用したアセット

No response

VRCQuestTools version / VRCQuestToolsのバージョン

2.11.4

Unity version / Unityのバージョン

2022.3.22f1

Additional context / その他の情報

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions