Skip to content

Apply cubemap texture on cube Mesh #11

Answered by jnsmalm
arthuro555 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Yes, this is possible to do. You need to create a new material and reference that when creating the cube mesh. This is actually exactly how the skybox is implemented. Have a look at https://github.com/jnsmalm/pixi3d/tree/develop/src/skybox and let me know if you are not sure about what to do.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@arthuro555
Comment options

Answer selected by arthuro555
Comment options

You must be logged in to vote
2 replies
@goldenratio
Comment options

@goldenratio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants