Yo @bghgary i am having an issue with CLAMP vs REPEAT settings in texture.
I have a Cube.glb…
Cube.glb.zip (24.0 KB)
Only one single texture in the gltf samplers section
But in sandbox, the camp u and v are not set
Can you please check this out
Yo @bghgary i am having an issue with CLAMP vs REPEAT settings in texture.
I have a Cube.glb…
Cube.glb.zip (24.0 KB)
Only one single texture in the gltf samplers section
But in sandbox, the camp u and v are not set
Can you please check this out
WrapS
to wrapS
https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#_sampler_wraps
glTF validator:
{
"code": "UNEXPECTED_PROPERTY",
"message": "Unexpected property.",
"severity": 1,
"pointer": "/samplers/0/WrapS"
},
{
"code": "UNEXPECTED_PROPERTY",
"message": "Unexpected property.",
"severity": 1,
"pointer": "/samplers/0/WrapT"
},
Well shit… is a bug in KHRONOS GLTF Sampler.cs
Its is using Capital W for WrapS and WrapT
Thanks Gary… You Da Man
Where?
For me was in the GLTF project… Schema/Sampler.cs Serialize function
was fixed in a later version of the project