# Simple skybox and cube texture

**URL:** https://discourse.vtk.org/t/simple-skybox-and-cube-texture/14772
**Category:** Web
**Tags:** vtkjs
**Created:** [October 27, 2024, 2:56pm UTC](https://discourse.vtk.org/t/simple-skybox-and-cube-texture/14772 "2024-10-27T14:56:27Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![millerjammer](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@millerjammer](https://discourse.vtk.org/u/millerjammer)
#### Post date: [October 27, 2024, 2:56pm UTC](https://discourse.vtk.org/t/simple-skybox-and-cube-texture/14772/1 "2024-10-27T14:56:27Z")

</div>

I’m relatively new to vtk.js but I’m trying to implement a simple skybox. That wasn’t working so I created a cube, which works when applying a texture created from a canvas. However, I’m trying to apply images but only two sides of the cube render an image. The skybox doesn’t seem to render at all with images or a simple canvas. I’m somewhat lost down the rabbit hole missing something simple and would appreciate some direction. I created a code pen that should be a 6-sided textured cube in a skybox but is rendered as a two sided textured cube and no skybox [here](https://codepen.io/James-Miller-the-bold/pen/ZEgvjqM).

---

_[View the full topic](https://discourse.vtk.org/t/simple-skybox-and-cube-texture/14772)._
