Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why the diference of render - transparent texture #699

Closed
acesolucoes opened this issue Jun 20, 2024 · 1 comment
Closed

Why the diference of render - transparent texture #699

acesolucoes opened this issue Jun 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@acesolucoes
Copy link

Describe the bug

I have a cloth exported in GLTF/GLB that opens in other viewer as intended, but in GLTFast the transparency value is not being respected.

Files

It follows in attachment a minimal glb with the issue, as well the rendering in Unity 2022.3.18f1 with GLTFast 6.6 (HDRP) and with another GLTF viewer. The problem also happens in URP with GLTFast 5.0 and presumibly other GLTFast versions too. I didn't have tested in Builtin Pipeline.

gltf_transparency_issue.zip

Expected behavior
The expected behavior is the viewing according to the other GLTF viewers. In case, the CESIUM in screenshots.

Screenshots

unity_gltfast
cesium_gltf png

**Desktop (

  • Platform: Windows Unity 2022.3.18f1 - URP and HDRP

additionally (if significant for the bug):

  • Notebook with Windows 11
@acesolucoes acesolucoes added the bug Something isn't working label Jun 20, 2024
@atteneder
Copy link
Owner

@acesolucoes Thanks for reporting.

I was able to reproduce and fix it in HDRP.

I did not see that error on URP/2022 though.

Fix will land in 6.7.0, planned for later this week.

hth

Needle-Mirror-Bot pushed a commit to needle-mirror/com.unity.cloud.gltfast that referenced this issue Jun 28, 2024
## [6.7.0] - 2024-06-25

### Added
- (Import) Support for [materials variants extension](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_variants).
- Serialization support for material extensions IOR, Sheen and Specular.
- (Import) Ability to load a glTF from a generic `Stream` (`GltfImport.LoadStream`; thanks [sandr01d][sandr01d] for [#10](Unity-Technologies/com.unity.cloud.gltfast#10)).

### Changed
- (Import) Prefabs imported from glTF assets (at design-time) don't have the glTF logo icon assigned to them anymore. This makes it more consistent with other file types (like FBX; fixes [#557](atteneder/glTFast#557)).

### Deprecated
- `MetaMaterialExport`. Always use `MaterialExport.GetDefaultMaterialExport` to get the correct material export.

### Fixed
- (Export) glTFast shader based materials and textures are exported correctly when using the default render pipeline.
- Added missing entries to the API documentation.
- (Export) Base colors are now in correct, linear color space.
- Alpha mode blend now works as expected in HDRP 11 and newer as well (fixes [#699](atteneder/glTFast#699)).
- (Export) Fixed mesh min/max when using Draco compression.
atteneder added a commit to Unity-Technologies/com.unity.cloud.gltfast that referenced this issue Jun 28, 2024
@atteneder atteneder added this to the 6.7.0 milestone Jun 28, 2024
@atteneder atteneder self-assigned this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants