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
If an FBX file only has diffuse and normal map defined, the switch-case in SCNMaterial + TextureInfo:makePropertyContents(textureInfo:) overrides the normal.contents with nil.
Could you add:
if (textureInfo.getMaterialPropertyContents() == nil) {
return
}
before the switch textureInfo.textureType
?
This should work, tested it with the current Version
The text was updated successfully, but these errors were encountered:
If an FBX file only has diffuse and normal map defined, the switch-case in SCNMaterial + TextureInfo:makePropertyContents(textureInfo:) overrides the normal.contents with nil.
Could you add:
if (textureInfo.getMaterialPropertyContents() == nil) {
return
}
before the switch textureInfo.textureType
?
This should work, tested it with the current Version
The text was updated successfully, but these errors were encountered: