Herb items with see-through leaves are drawn solid
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- computer-graphics, game-dev
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C#
- Stelle
- 33
- Fork
- 1
- Merge medio
- 1g 17h
- PR unite (30g)
- 51
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Gothic-Unity-Project/Gothic-Unity
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 49/100
Gothic-Unity-Project/Gothic-Unity#489 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
Gothic-Unity-Project/Gothic-Unity#488 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Gothic-Unity-Project/Gothic-Unity#486 ·
I maintainer di solito rispondono entro 1 giorno
-
XRIT - Items in slots get HVR's size (no more flying with a coin on the hip)Forse già presa @JaXt0r l’ha presa 9 giorni fa. Apertabug
Gothic-Unity-Project/Gothic-Unity#446 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Gothic-Unity-Project/Gothic-Unity
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Facepunch/sbox-public#12284 ·
I maintainer di solito rispondono entro 6 giorni
-
bug untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
CarlosAdrianM/Nesto#610 ·
-
[bug-bash] print maps a missing item's HTTP 404 to exit 1 instead of documented not-found exit 5Apertabug bug-bash
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Azure/CosmosDBShell#279 ·
I maintainer di solito rispondono entro 1 giorno