PBRGraph shader does not work for points topology
@robertdorn83 がすでに取り組んでいます。
2025年2月24日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- C#
- スター
- 2.3k
- フォーク
- 539
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
KhronosGroup/UnityGLTF のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
KhronosGroup/UnityGLTF#911 · コメント 6 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
KhronosGroup/UnityGLTF#894 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
KhronosGroup/UnityGLTF#893 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
KhronosGroup/UnityGLTF#890 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
KhronosGroup/UnityGLTF#889 · コメント 1 件 ·
KhronosGroup/UnityGLTF の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Realm667/WolfenDoom#1758 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
AI documentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Keboo/SimplyBudget#334 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信