Article Contents
Textured Cube |
View code on Gitlab |
Summary
Now that we can draw a cube, the next logical step is to apply a texture and make our cube into a box. In this article we apply (diffuse) uv coordinates to the cube and change the rotation to rotate across more axis. The resut of this article is shown below.