Sky and Sun Shader, an official Three.js WebGL example
Shared by @threejs • Curated • 42 likes on X
Open Live Demo ↗
The Sky and Sun Shader is an official Three.js example that renders a physically based sky with an adjustable sun position in a WebGL shader. It appeared in a three.js round-up of featured examples, and the source is in the three.js repository.
More from @threejs
Other projects shared by the official Three.js account
121 Likes
A Codevember rainforest flight through misty cloudscapes and canopy
Three.js official highlight featuring a Codevember rainforest flight through misty cloudscapes and canopy, with gorgeous volumetric lighting.
297 Likes
Lanternfall: Isometric Action Dungeon Crawler in Three.js
Three.js official showcase of Lanternfall, an isometric action dungeon crawler with real-time dynamic lighting and fluid combat.
65 Likes
Paris Freestyle: Interactive 3D Street Soccer in Three.js
Three.js official highlight of Paris Freestyle, an interactive 3D street soccer web experience with multi-camera action.
1,913 Likes
Three.js Official Release R187
Milestone Three.js r187 release introducing native Meshlet geometry pipeline, overhauled WebGPU node materials, and TSL syntax upgrades for high-poly scenes.
More Three.js Shaders
Projects curated around the same time in this topic
55 Likes
Inaba_darkfox's open-source WebGL shader project
Featured in the top Web 3D rankings, inaba_darkfox (@inaba_darkfox) demonstrates an open-source WebGL shader project characterized by atmospheric lighting, procedural mathematical geometries, and real-time visual styling.
663 Likes
Anderson Mancini launches Three.js Punk, a 3D racing game
Creative developer Anderson Mancini launches 'Three.js Punk', a full-featured browser-based 3D racing game featuring over 50 missions, unlockable supercars, collectible progression, and real-time screen-space planar reflections across rain-soaked asphalt. With seamless cross-device optimization, this project marks a historic milestone for high-octane indie game development on the web.
543 Likes
Dan Greenheck Open-sources Three.js Particle Fluids for WebGPU
Dan Greenheck open-sources Three.js Particle Fluids, an exceptional WebGPU-accelerated physics engine. Harnessing native compute shaders, it delivers real-time SPH fluid dynamics, rigid-body collisions, soft-body viscoelastic solvers, and dynamic cloth tearing in the browser, complete with live interactive demos and full source code on GitHub.
270 Likes
David Haz launches OpenShaders for WebGL and WebGPU
David Haz launched OpenShaders, an open-source shader ecosystem engineered for production-ready deployment across WebGL and WebGPU pipelines. Providing an npm-like workflow for searching, live-previewing, compiling, and integrating modular shaders, it bridges the gap between creative visual experiments and plug-and-play production assets.
42 Likes
Volumetric Fog, an official Three.js WebGPU example
Volumetric Fog is one of the official Three.js examples, rendered with the WebGPU renderer and post-processing. The three.js account featured it in a round-up of new and improved examples, and the full source is in the three.js repository on GitHub.
35 Likes
Fly Over Beautiful Planet
Fly Over Beautiful Planet Source Code & Demo: https://codepen.io/editor/sabosugi/pen/01a07fed-8a0f-73ed-9dc7-50f33c24916f?orientation=right&panel=files&show=preview @threejs #webgl #webgpu #shader #3d
28 Likes
Artificial Flower, August 19, 2026
Artificial flower, August 19, 2026 Generative three.js / WebGL, single HTML file, built in Cursor. https://mark-walhimer.com/sketches/bloom/seeded-flower.html
356 Likes
Norio adds GTAO, TRAA and bloom to Speedball GI in Three.js
Japanese developer norio extended clone2k's Speedball GI, a real-time global illumination system for Three.js, with GTAO, TRAA and bloom, and says the result reaches AAA quality at a low cost. This standalone WebGPU demo pairs the GI with a sky.
Related Three.js Examples
More projects that share this one's topics
654 Likes
Open-Source WebGPU Physically-Based Path Tracer
My WebGPU path tracer is open source! Physically based rendering, running right in your browser. MIT licensed. - WebGPU compute shader path tracing, with WebGL 2 fallback - Two-level BVH built using parallel Web Workers, based on TinyBVH. A 4.6M-triangle scene's BVH builds in
37 Likes
Codrops Lookbook Hover Effects: 8 WebGL Hover Interactions
"Lookbook Hover Effects" open-sourced by Codrops, featuring 8 distinct WebGL hover interactions tailored for fashion catalogs. Moving over cards triggers fluid liquid-glass distortion, realistic paper tearing with curling peels, or cathode-ray TV static transitions, fusing GSAP easing with custom fragment shaders. 💡 **Quick Take:** Liquid glass, curling paper peels, and retro cathode-ray static: Codrops elevates e-commerce lookbook hover micro-interactions to gallery-level digital art.
229 Likes
Ember Flow: Curl Noise in WebGPU and TSL
Ember flow. #threejs A little bit of evening exploring Curl-noise in WebGPU & TSL. Live: https://dasprinzip.com/tinker/day40/ Get the code here: https://github.com/prinzipiell/tsl #indiedev #gamedev #creativecoding #shaders #wgsl #webgpu #glsl #webgl #3d #tsl
383 Likes
Martin Valigursky releases a Matrix digital rain shader for splats
Martin Valigursky released an open-source Matrix digital rain shader for 3D Gaussian Splatting in PlayCanvas on WebGL2 and WebGPU.