Skybox solid color #491
-
Hi there, I know that if there is a default environment the skybox color will not change, i tried to destroy the default environment, but nothing happened. Any help would be nice, thank u all. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well i found my error, i dont know exactly how work the class Engine if someone can explain it to me a little. Wat i was doing
Solution
where engine is the engine from SceneView in xml. |
Beta Was this translation helpful? Give feedback.
Well i found my error, i dont know exactly how work the class Engine if someone can explain it to me a little.
I post my solution there, maybe it helps someone.
Wat i was doing
skybox = Skybox.Builder().color(0.05f,0.05f,0.05f,1f).build(Engine.create())
Solution
skybox = Skybox.Builder().color(0.05f,0.05f,0.05f,1f).build(engine)
where engine is the engine from SceneView in xml.