An illumination device for a vehicle. The illumination device may be used to selectively illuminate a truck bed or another vehicle location or compartment. The illumination device includes a primary lens having a plurality of optical features that help target light in preferred directions. The optical features may include optical segments or optical portions having a number of optical wedges. In one embodiment, the illumination device is used in a truck bed application.