last missing pieces for textures for rendering