renaming vertex attributs. Adding boolean switch to indicate if texture samplers are available