/obj/screen/plane_master/floor
name = "game world plane master"
plane = 0
blend_mode = BLEND_MULTIPLY
invisibility = INVISIBILITY_LIGHTING
color = list(null,null,null,"#0000","#000f")
/obj/screen/plane_master/game_world
name = "game world plane master"
plane = 1
blend_mode = BLEND_OVERLAY
invisibility = INVISIBILITY_LIGHTING
appearance_flags = NO_CLIENT_COLOR | PLANE_MASTER | RESET_TRANSFORM | RESET_COLOR | RESET_ALPHA | KEEP_TOGETHER
/obj/screen/plane_master/lighting
name = "sun lighting plane master"
plane = -1
layer = LIGHTING_LAYER
blend_mode = BLEND_ADD
icon = 'icons/effects/alphacolors.dmi'
invisibility = INVISIBILITY_LIGHTING
appearance_flags = RESET_TRANSFORM | RESET_ALPHA | PLANE_MASTER
mouse_opacity = 0
Problem description:
I'm using 4 planes: lighting plane (-2), sunlighting plane (-1), floor plane (0) and game plane (1).
What doesn't work fine is a transition from lightings to floor and game plane. Lightings only applies to floor plane normaly while game plane applies to previous planes combined.
So that's why i need to apply sunlighting plane to lighting plane and game plane to floor plane at first instead of basic order. And only then to apply combined planes to each other.
Is there any way to do that?