Skip to content Skip to sidebar Skip to footer

Sceneform Sceneview Always Black In Fragment

I am trying to render a 3d model on sceneview but i am getting black screen no matter what i do . what i am trying to do is to load a 3d model like in ARFragment but with more scen

Solution 1:

the issue was with the background colour was not set. so, when I changed it to white it started working perfectly.

binding.SceneView.renderer!!.setClearColor(Color(LTGRAY))

Moreover, if you are using the navigation component make sure your navgraph is in fragment container view not in a fragment

Post a Comment for "Sceneform Sceneview Always Black In Fragment"