You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have problems with displaying corrects colors when using vertex colors. With standard materials and textures exported from blender, everything looks fine. But exporting only the mesh with vertex color results in weird colors like in this picture:
But it should look like this (same glb-file in Windows 10 3D-Viewer):
Other GLTF-Viewers display the colors correctly. Here is the zipped glb-file:
Also sometimes i get this unity warning "Mesh vertex buffer attributes were supplied in non-standard order". What does this mean? Can you give me a tipp how to fix this problem? Maybe a export setting in blender?
Thanks for your support!
Unity Warning Message:
Mesh vertex buffer attributes were supplied in non-standard order. Layout was adjusted to this order: Position, Normal, Color, TexCoord0.
UnityEngine.Mesh:SetVertexBufferParams(Int32, VertexAttributeDescriptor[])
GLTFast.VertexBufferConfig`1:ApplyOnMesh(Mesh, MeshUpdateFlags) (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/VertexBufferConfig.cs:237)
GLTFast.PrimitiveCreateContext:CreatePrimitive() (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/PrimitiveCreateContext.cs:56)
GLTFast.d__78:MoveNext() (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/GltFast.cs:909)
GLTFast.d__57:MoveNext() (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/GltFast.cs:260)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
The text was updated successfully, but these errors were encountered:
Seems like it's an issue with the exporter (Khronos glTF Blender I/O v1.4.40) in blender 2.91.2. With blender 2.8 LTS (exporter: Khronos glTF Blender I/O v1.2.75) the problem is gone. Export settings where the same.
Hi,
i have problems with displaying corrects colors when using vertex colors. With standard materials and textures exported from blender, everything looks fine. But exporting only the mesh with vertex color results in weird colors like in this picture:
But it should look like this (same glb-file in Windows 10 3D-Viewer):
Other GLTF-Viewers display the colors correctly. Here is the zipped glb-file:
Suzanne.zip
Also sometimes i get this unity warning "Mesh vertex buffer attributes were supplied in non-standard order". What does this mean? Can you give me a tipp how to fix this problem? Maybe a export setting in blender?
Thanks for your support!
Unity Warning Message:
Mesh vertex buffer attributes were supplied in non-standard order. Layout was adjusted to this order: Position, Normal, Color, TexCoord0.
UnityEngine.Mesh:SetVertexBufferParams(Int32, VertexAttributeDescriptor[])
GLTFast.VertexBufferConfig`1:ApplyOnMesh(Mesh, MeshUpdateFlags) (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/VertexBufferConfig.cs:237)
GLTFast.PrimitiveCreateContext:CreatePrimitive() (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/PrimitiveCreateContext.cs:56)
GLTFast.d__78:MoveNext() (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/GltFast.cs:909)
GLTFast.d__57:MoveNext() (at Library/PackageCache/com.atteneder.gltfast@5602e1e9c4/Runtime/Scripts/GltFast.cs:260)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
The text was updated successfully, but these errors were encountered: