This is really bothering me because I don't know why this would happen and it's preventing me from getting some good work done. Any time I add a PLANE_MASTER to the lighting plane (Defined as -1), it draws everything on plane -1 as invisible despite no changes to the plane master.
I use SS13 lighting for lighting visuals. The way lighting works is that it calculates what the lighting would look like for each corner and generates an icon to accurately reflect that. For some reason whenever I set a plane master for that, it refuses to draw. It refuses to draw even simple overlays that are just icons attached to objects on the overlay layer.
I've tried mixing and matching appearance flags on the plane master to see if that is the issue. Nothing seems to work. As an experiment I disabled all other plane_masters and it still does not draw. I triple checked to see if any other objects use plane -1, but it's just lighting objects.
The object:
//Lighting
/obj/plane_master/lighting
name = "plane master"
screen_loc = "CENTER"
mouse_opacity = 0
layer = LAYER_LIGHTING
plane = PLANE_LIGHTING
invisibility = INVISIBILITY_LIGHTING
blend_mode = BLEND_MULTIPLY
appearance_flags = PLANE_MASTER | LONG_GLIDE | PIXEL_SCALE | RESET_COLOR | RESET_ALPHA | KEEP_APART
How it's added. (Other planemasters are added in the same proc, and they work fine.)
if(!plane_master_lighting)
plane_master_lighting = new(src)
C.screen += plane_master_lighting
Any help would be greatly appreciated.