PBRGraph shader does not work for points topology
@robertdorn83 ci sta già lavorando.
Dal 24/2/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug 💬
The attached model has some points topology in it.
Unity tries to render it, but fails with a shader error:
Drawing with MeshTopology.Points, yet the vertex program 'UnityGLTF/PBRGraph' does not have PSIZE output.
I think that points should probably be rendered with a custom unlit shader that supports map + color + vertex color (lighting on them doesn't really make sense), but care has to be taken to ensure compatibility with BiRP, URP, HDRP.
Steps to reproduce 🔢
- Download 20250223-MixedTopologySphere.glb.zip
- Import in Unity at edit time
Files to reproduce the issue ♻
No response
Editor Version 🎲
2021.3
Render Pipeline and version
URP
UnityGLTF Version
2.14
Operating System 👩💻
macOS
When does this problem happen?
- Editor Import
- Runtime Import
- Editor Export
- Runtime Export
Additional Info 📜
Related: https://github.com/atteneder/glTFast/issues/246
Validations 🩹
- I have searched existing issues: no issue already exist that reports the same problem.
- I follow the Code of Conduct
- I provided a minimal reproducible example, including files when necessary.
- Lingua principale
- C#
- Stelle
- 2.3k
- Fork
- 539
- Merge medio
- 3g 15h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 KhronosGroup/UnityGLTF
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
KhronosGroup/UnityGLTF#911 · 6 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KhronosGroup/UnityGLTF#894 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
KhronosGroup/UnityGLTF#893 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
KhronosGroup/UnityGLTF#890 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KhronosGroup/UnityGLTF#889 · 1 commento ·
Tutte le issue di KhronosGroup/UnityGLTF
Issue simili
-
launcher item missingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Realm667/WolfenDoom#1758 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
AI documentation good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Keboo/SimplyBudget#334 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno