I set a light event, but now the floor and ceiling don't show up, I'll give you the code I am using for my ceiling and floor.Turn off lighting before drawing the gun, then turn it back on after.
d3d_set_lighting(0); //draw gun d3d_set_lighting(1);
{
d3d_draw_floor(0,0,0,room_width,room_height,0,texture_floor,256,256);
d3d_draw_floor(0,0,32,room_width,room_height,32,texture_ceiling,256,256);
}



Find content
Not Telling
