Playing with shaders again, I pushed my idea using ChatGPT. This is what I came up to.
I forgot to update the camera matrix on resize ![]()
Yes forgot about that part.
I added the sun in my landing page is loading random scenes if you don’t see it, refresh the page until it appears.
looks great! Would love to have a look at the shader. Any chance of sharing it?
Yes here is the source code https://fwdapps.net/sun.zip
The most realistic sun I’ve seen so far—one that’s closest to Unity’s effects! Thank you!
Glad I can share something nice!
Hi,
I really admire the sun shader you created — it looks incredible.
I’m currently building a personal website to archive my own sci-fi worldbuilding project (space-themed), and your sun would fit perfectly with the concept.
At this stage, the website is a non-commercial personal project.
Would it be alright if I use your shader on my site with proper credit to you?
If the project ever becomes commercial in the future, I will make sure to contact you again for permission.
Thank you very much!
Yes, feel free to use it as you want!



