Index: light.c
===================================================================
--- light.c	(revision 268)
+++ light.c	(revision 269)
@@ -83,8 +83,24 @@
 
 }
 
+signed char raydium_light_texture(int texture, signed char enable)
+{
+if(texture>=0 && texture<raydium_texture_index)
+    {
+    raydium_texture_nolight[texture]=!enable;
+    return 1;
+    }
 
+raydium_log("light: cannot set 'no light' attribute on texture: invalid name or index");
+return 0;
+}
 
+signed char raydium_light_texture_name(char *name, signed char enable)
+{
+return raydium_light_texture(raydium_texture_find_by_name(name),enable);
+}
+
+
 void raydium_light_move(GLuint l,GLfloat *vect)
 {
 memcpy(raydium_light_position[l],vect,raydium_internal_size_vector_float_4);