Merge pull request #2216 from ey6es/master

Generate mipmaps for avatar textures, fix shadows (don't render display names into the shadow map).