Herb items with see-through leaves are drawn solid
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
研究方向
Start at VobInitializerDomain.CreateItemMesh and trace how useTextureArray: false leads to AbstractMeshBuilder.GetDefaultMaterial selecting Lit/SingleMesh; compare this with the bushes and trees that use Lit/AlphaToCoverage. The issue leaves the implementation choice open: a single-texture cutout variant or placing items in texture arrays. Done means the listed G2 herb textures with alpha render with cutout leaves, while textures without alpha retain their original solid appearance.
由索引模型根據 Issue 內容生成。
描述
Description
Items are built without the texture arrays (VobInitializerDomain.CreateItemMesh, useTextureArray: false). AbstractMeshBuilder.GetDefaultMaterial then always gives them Lit/SingleMesh, which has no alpha test. The transparent parts of item textures with alpha are drawn solid.
Expected Behavior
Leaves are cut out like on bushes and trees (Lit/AlphaToCoverage).
Actual Behavior
Solid leaf quads. Affected G2 herbs (their leaf textures are DXT3, checked in the archives): ItPl_Health_Herb_03, ItPl_Dex_Herb_01, ItPl_Forestberry, ItPl_Planeberry, ItPl_Beet, ItPl_SwampHerb, ItPl_Weed, ItPl_Temp_Herb.
Herbs using ITFOOD-C.TEX (DXT1 without any alpha: healing, mana, speed, strength herbs, mushrooms) are solid in the original too.
Reproduction Steps
- G2, find or spawn
ItPl_Health_Herb_03orItPl_SwampHerb. - Look at the leaves.
Environment Information
- Reproducibility: Always
- Platform: all (seen on Quest 3)
- Game Version: main 83a1aebd2
Notes
Not covered by BoroBongo's work: his palm leaf fix (EnableTextureArraySubmeshMaterials, experimental branch) only covers meshes that use the texture arrays.
Fix idea: a cutout variant for meshes with a single 2D texture, or items in the texture arrays.
- 主要語言
- C#
- 星號
- 33
- 分支
- 1
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 57
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Gothic-Unity-Project/Gothic-Unity 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
維護者通常 2 天內回覆
-
難度 5/5 一週以上 新手友好度 38/100
Gothic-Unity-Project/Gothic-Unity#499 ·
維護者通常 2 天內回覆
-
Shadows未關閉feature
難度 5/5 一週以上 新手友好度 30/100
Gothic-Unity-Project/Gothic-Unity#497 ·
維護者通常 2 天內回覆
-
improvement
難度 4/5 3-5 天 新手友好度 42/100
Gothic-Unity-Project/Gothic-Unity#496 ·
維護者通常 2 天內回覆
-
feature
難度 5/5 一週以上 新手友好度 25/100
Gothic-Unity-Project/Gothic-Unity#495 ·
維護者通常 2 天內回覆
查看 Gothic-Unity-Project/Gothic-Unity 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
NethermindEth/nethermind#15684 ·
維護者通常 1 天內回覆
-
area/ai-assistant squad/flyt
難度 2/5 1-3 小時 新手友好度 83/100
Altinn/altinn-studio#21798 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
arastella625/DAORework#181 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
BEagle1984/silverback#280 ·
-
bug P1
難度 2/5 1-3 小時 新手友好度 76/100
endercodezz/BYDLO#417 ·
維護者通常 1 天內回覆