Added shading and lighting.
Model viewer and texture viewer have their own indexes now.