A lighting device (5; 20; 30; 40) comprising a plurality of light-emitting filaments, wherein each of the light-emitting filaments comprises: an elongated carrier defining a longitudinal axis of the light-emitting filament; a plurality of solid-state light sources mounted on the carrier along the longitudinal axis, wherein each solid-state light source is configured to emit light from a light-emitting surface; and an encapsulant comprising a luminescent material, wherein the encapsulant at least partially encloses the light-emitting surfaces of the solid-state light sources and is configured to at least partly convert light emitted by the solid-state light sources to wavelength-converted light, wherein the light-emitting filaments are arranged in a planar configuration, wherein the lighting device (5; 20; 30; 40) has a main direction of illumination perpendicularly away from a plane defined by the planar configuration, and wherein the longitudinal axes (L 1, L 2) of at least two light-emitting filaments are non-parallel to each other, characterized in that said lighting device (5; 20; 30; 40) further comprising a collimator (6; 21, 31, 41) configured to collimate light emitted by the light-emitting filaments in a direction parallel to said plane, said collimator (6; 21, 31, 41) comprises a plurality of sub-collimators, each sub-collimator being configured to collimate light emitted by one of the light-emitting filaments, and wherein the collimator (6; 21, 31, 41) has a surface facing the main direction of illumination, and each sub-collimator is formed by a recess in said surface, and wherein each recess at least partly receives one of the light-emitting filaments. an elongated carrier defining a longitudinal axis of the light-emitting filament; a plurality of solid-state light sources mounted on the carrier along the longitudinal axis, wherein each solid-state light source is configured to emit light from a light-emitting surface; and an encapsulant comprising a luminescent material, wherein the encapsulant at least partially encloses the light-emitting surfaces of the solid-state light sources and is configured to at least partly convert light emitted by the solid-state light sources to wavelength-converted light, wherein the light-emitting filaments are arranged in a planar configuration, wherein the lighting device (5; 20; 30; 40) has a main direction of illumination perpendicularly away from a plane defined by the planar configuration, and wherein the longitudinal axes (L 1, L 2) of at least two light-emitting filaments are non-parallel to each other, characterized in that said lighting device (5; 20; 30; 40) further comprising a collimator (6; 21, 31, 41) configured to collimate light emitted by the light-emitting filaments in a direction parallel to said plane, said collimator (6; 21, 31, 41) comprises a plurality of sub-collimators, each sub-collimator being configured to collimate light emitted by one of the light-emitting filaments, and wherein the collimator (6; 21, 31, 41) has a surface facing the main direction of illumination, and each sub-collimator is formed by a recess in said surface, and wherein each recess at least partly receives one of the light-emitting filaments.