https://github.com/tw1ddle/sky-shader
:sunny: WebGL sky and sun shader editor
https://github.com/tw1ddle/sky-shader
demo glsl ludum ludum-dare particle shader skies sky threejs webgl
Last synced: 8 months ago
JSON representation
:sunny: WebGL sky and sun shader editor
- Host: GitHub
- URL: https://github.com/tw1ddle/sky-shader
- Owner: Tw1ddle
- License: mit
- Created: 2015-08-24T23:01:44.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-12-13T23:56:00.000Z (almost 4 years ago)
- Last Synced: 2025-01-30T20:40:20.474Z (8 months ago)
- Topics: demo, glsl, ludum, ludum-dare, particle, shader, skies, sky, threejs, webgl
- Language: JavaScript
- Homepage: https://samcodes.co.uk/code/
- Size: 11.9 MB
- Stars: 140
- Watchers: 8
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://tw1ddle.github.io/Sky-Shader/)
[](https://github.com/Tw1ddle/Sky-Shader/blob/master/LICENSE)
[](https://ci.appveyor.com/project/Tw1ddle/Sky-Shader)Interactive procedurally generated sun and skies. Run it [in your browser](https://tw1ddle.github.io/Sky-Shader/).
This extends code from my Ludum Dare 33 entry, [Otherworldly Stars](https://github.com/Tw1ddle/Ludum-Dare-33).
## Usage
Use the controls in the top right of the demo page to modify the shader variables and create your own skies.
## Screenshots




## Credits
The project is written in [Haxe](https://haxe.org/) and uses:
* [three.js](https://github.com/mrdoob/three.js) for rendering.
* Yaroslav Sivakov's [three.js](https://lib.haxe.org/u/yar3333/) externs.
* dataart's [dat.gui](https://github.com/dataarts/dat.gui) debug UI library.
* The sky shader is based on a three.js [example](https://threejs.org/examples/).## Notes
* If you have any questions or suggestions then [get in touch](https://twitter.com/Sam_Twidale) or open an issue.
* At time of writing this is broken on IE due to the dat.gui library not working on IE.