{
	"format_version": "1.8.0",
	"render_controllers": {
		"controller.render.shapescape_mb.phantom_boss": {
			"geometry": "Geometry.default",
			"materials": [
				{
					"*": "Material.default"
				}
			],
			"textures": ["Texture.default"],
			"overlay_color": {
				// Only death animation is being played during black overlay, hence we can use q.anim_time. Divide it to adjust the speed. Divide it by the anim time to full black at the end of the animation.
				// q.is_baby is a flag that returns 1 only during first few seconds of the existance of the entity, on BP side.
				"a": "q.is_baby ? (math.clamp(math.lerp(1, 0, q.life_time), 0, 1)) : (q.is_sheared ? math.lerp(0, 1, q.anim_time/3.08333))",
				"r": "0",
				"g": "0",
				"b": "0"
			}
		}
	}
}
