Clean material handling code.
Gather glsl material handling code
Add glossytex to textures
Slightly improve getUnicolorTexture
Improve naming convention of textures
Create a "default material" object and use it for materials that don't appear in materials.xml, instead of an hardcoded special case
Remove outdated comment
Use default mat for untextured mat too
Fix ref counting crash
Remove useless field in single texture instance
Support for 3 tex mats
Add a guard if a texture is missing.
Fix crash in kart selection screen.
Try to fix detail map default tex
Apparently fix minimap
Fix detail map
Really fix detailmap
Merge remote-tracking branch 'origin/glossmap'