Guys, sorry for my English, but I need your help. There are several layers in the room (their number and order can change at run-time). All layers should be drawn with the same shader, but with a different uniform parameter. Parameters are stored in the map (layer ID -> parameter). It is logical to use "layer_script_begin" to configure the shader before drawing the layer, but I can’t figure out how to get the ID of the current layer from a script to get the parameter from the map. Does anyone have any ideas?