- attach_texture_to(texture, texturing, tex_shdata, "texture");
+ attach_texture_to(texture, texturing, tex_shdata, "color_tex");
+}
+#pragma GCC diagnostic pop
+
+const Texture *UnlitMaterial::get_texture(Tag tag) const
+{
+ if(tag==texture_tags[0])
+ return texture;
+ else
+ return 0;