Skip to content

Skybox solid color #491

Answered by Danwolve98
Danwolve98 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGorisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #487 on May 16, 2024 13:35.