How can I make a realistic lightsaber? I want to make a lightsaber where the edjes/sides are more red and in the middle it is white, so I tried using the layer weight node with a color ramp and I got a nice result when looking from the front, but when I look sideways its all red without any white in the middle (first picture). (My material  nodes are shown in the second picture). Any solutions? I have another idea but I don't think it will look that good. I was thinking to add bloom in the final render and use only an emission shader with red color and strength a big number like 200 so it would look white, and the bloom would add that red color around it.first picture

I am using cycles
If you set the emission to a large number, it will shine very bright in the scene on other object, which you may want, however, I used a fresnel input to find the outer edges and used a color ramp to convert them to red and white.