Realistic Sun with noise and rays

Playing with shaders again, I pushed my idea using ChatGPT. This is what I came up to.

14 Likes

If change height of screen then stretch. Also cant aplly settings.

I forgot to update the camera matrix on resize :slight_smile:

Dont forget this

2 Likes

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.

https://fwdapps.net/

3 Likes

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

2 Likes

The most realistic sun I’ve seen so far—one that’s closest to Unity’s effects! Thank you!

1 Like

Glad I can share something nice!