Currently, I am attempting to create a visualization of a space time cube like the one shown at this link: using the webgl javascript framework known as three.js. One challenge I have encountered is trying to achieve the effect of having the cube display only its outlines with a material. To tackle this, I decided to create 6 planes to represent the walls of the cube instead of using an actual cube geometry due to difficulties in rendering objects inside it. The closest solution I managed to reach was setting wireframe to true. However, this approach resulted in not just rendering the outlines but also showing every other line of each polygon, which wasn't ideal. Regrettably, navigating the three.js "API" has proven to be less than helpful in finding a suitable solution.