0
\$\begingroup\$

How could I make a shader graph that makes spheres that look like on this image? I'm new to shaders and I don't know how to do this. Also, if it's possible I would like a property to change the glowing intensity

enter image description here

\$\endgroup\$
1
\$\begingroup\$

So I know this is old, but a few weeks ago we found a solution and I think it would help some people to post it here. Using the VFX graph and the HYG database, it is possible to render hundreds of thousands of stars without any large performance impact. it works by encoding the stars into a texture. The RGB represents the position relative to the earth, and the alpha is the magnitude. Then, the graph read the texture and generate 2D stars. I am not taking credits for this solution, Glurth made 99% of it. This is just a part of the system, but an experienced programmer will be able to easily make the script. enter image description here

enter image description here

enter image description here

\$\endgroup\$
  • \$\begingroup\$ I'd recommend keeping your previous answer visible too. Even if it wasn't right for your needs, it might help others. It's totally OK to have more than one answer to a question — the accepted checkmark lets you highlight the one you found the best for your needs. \$\endgroup\$ – DMGregory Sep 30 '20 at 9:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.