Modify rendering to handle textures objects and process texture in shader (scratch)