Re: I have a silly question.
This effect can happen all by itself when you get a very bright light in the frame.
If you want to get the effect deliberately even with moderately bright light then you can use a cross filter. The glass has a cross scored into it. The number of points on the star depends on the number of lines.
Here are a few examples:
http://www.bhphotovideo.com/c/buy/St...9/N/4294540700
Re: I have a silly question.
You can also get this effect by stopping down the aperture. Think of looking at a bright light at night, and then squinting.