Rendering textured cube