Implemented square textures and rendering.