Using THREE.js to make a shining sun
javascript, three.js
Solution
The sun in the 100,000 Stars Chrome experiment is mostly made up of layered images. For instance, here's the image called sun_halo.png:
You can see the code used to make that sun, including all the shaders and links to all of the images, in this file:
https://web.archive.org/web/20130325132356/http://workshop.chromeexperiments.com/stars/js/sun.js
Problem
I'm learning THREE.js to do my final project which is a simple solar system model the only thing I don't know how to implement is how to make the sun shining or twinkle, just like the sun in chrome experiments 100,000 stars, what I want is a sun like the this: However, below is the best I can get, which is not satisfying enough: Hope someone could tell me what library or technique that I can use to make the sun really shining! Thanks a lot! Happy Thanksgiving!