Related to most light-emitting devices, such as LED luminaires, a filtering, beam-shaping optic is disclosed that controls the spectral content of the emitted light and the shape of the emitted beam. One or more filtering agents is mixed with a non-filtering material used for making an optic and the optic is then formed into a desired shape or configuration to control the beam shape. Light waves in a subrange of the overall wavelength range emitted from the light source are shifted to control the spectral content of the emitted light. Spectral density of the emitted light for various wavelengths is controlled to achieve a desired result, such as minimizing the amount of blue light emitted from outdoor lighting devices, particularly at night. Further, the color content of light emitted is controlled, for example, to minimize damaging effects to light-sensitive objects such as food products, certain art materials, etc.