How would one proceduraly generate a star in a compute shader that looks like one of thes two at any size needed. Also any way transfer this into a spherical map, would be appreciated. Goal is to create a spherical skybox of stars, (stars a pre generated, and not just decoration).
Also I have searched about everywhere for such equations, and or tutorials but have not found anything so far.
So far got accurate positioning of the stars on the spherical skybox but lack the equations to get it looking like I want.
Preferably the one on the right.
This below is what I currently have, ~~5 to 15ms processing time, little over 30k stars
Using Unity2019.3.1f1, needs to be compute shader compatible. (if not I will convert it somehow) Render Texture output.