I would beg to disagree. ALL LEDs can be dimmed by reducing the voltage only (you don't need a PWM circuit just a variable resistor aka rheostat). With that said you will note that the current bulb has either a resistor built into it to make it work with a 12 volt system or there is a resister on the board the LED is soldered to. All LEDs operate at 2-3 volts at the bear terminals. It does not matter which type you have as long as you just put the rheostat in SERIES with the power to the bulb/circuit board. Alternately you can play around with fixed resistors switching them in and out and just use a single double position switch (off-low-high). Higher resistance dims the LED more.
For the mathematically inclined non-electrical engineers you need to measure the amps (milliamp range typical) for the bulb. V=IR --> R=V/I, let V= battery voltage and I be the current you measured. R is the LED's resistance overall in ohms. If you double that the bulb will see 1/2 the amps and dim by something like 50%. So if you measured 2 milliamps =0.02 amps your resistance is 13.6/0.02=680 ohms. if you add a 680 ohm resistor (you will not be able to find one that matches exactly BTW as they come in standard "sizes") in series with the bulb it will see 1/2 the amps and dim by approx 50%. If you put a 680/4= 170 the bulb will dime by 25%.....
Radio shack has fixed resistors and the 1 watt version work fine.