Have you realized, that often the photo of a star shows 6 rays spreaded symmetrically around it, independently of the camera chosen? Do you have idea of what kind of optical phenomena is behind it?
Do you have an example of this?
The most common source of 'rays' is diffraction from the spider - the arms that hold the secondary mirror - in the telescope. There are almost always 4 of these.
If you are using a regular camera there is a weaker effect from the iris - the metal ring that changes size to let more light in. This depends on the number of blades, having more blades keeps the circle more circular as they close and so reduces the effect, expensive lenses will have many more blades - while simple ones may only have 6.