NOTE: This question was originally made as a way to get graph shaders and the Fresnel Effect to work with cubes, however, I only really wanted a glow effect and I thought that graph shaders were the best solution. For me, they were not, I have left a link to what worked for me (to make a glow effect). If you are using graph shaders like I was, use @Kalle Halvarsson as it is a great answer for that. Thanks, cheers!
I was following a Brackey's tutorial on graph shaders (so that I could make a glow effect); https://www.youtube.com/watch?v=Ar9eIn4z6XE&t=604s, and came across a problem where the glow doesn't affect the cube from the front of the camera angle.
Here is a screenshot (im using the same shader as him at the timestamp it links to in the video):
I tried looking around but there doesn't seem to be much at all about this. So simply, is there a way to allow the graph shaders to have a better effect on sharp-edged objects?
To do this we need to somehow make the Fresnel Effect more compatible for front angles, as it is to be meant for reflections, not as much front on glow; https://docs.unity3d.com/Manual/StandardShaderFresnel.html. Or, maybe there is an alternative I mean, I really only need this for 2D so I don’t know.
I don't want to pay for something like MK Glow. Thanks for the help, cheers!