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
Currently there's a dirty bug where textured meshes turn black (their texture gets disposed somehow?) when the visibility of one textured mesh is set to false:
This is most likely a threekt bug.
The text was updated successfully, but these errors were encountered:
I'm currently using the following workaround after setting a mesh to invisible:
(mesh.parent asScene).children.forEach {
if (it isMesh) {
val material = it.material
if (material isMeshBasicMaterial) {
material.map?.needsUpdate =true
}
}
}
This will cause all the textures to re-upload, making them visible again.
Currently there's a dirty bug where textured meshes turn black (their texture gets disposed somehow?) when the
visibility
of one textured mesh is set tofalse
:This is most likely a threekt bug.
The text was updated successfully, but these errors were encountered: