How to Fake Godrays in Three.js (WebGPU + React) @WawaSensei
How to Fake Godrays in Three.js (WebGPU + React)  @WawaSensei
Uploaded August 2025 | Updated September 2026, 1 week ago
Learn how to build Godrays with React Three Fiber using the Three Shading Language (TSL) and WebGPU

πŸš€ Learn React Three Fiber with the Ultimate Guide to 3D Web Development ✨
https://wawasensei.dev/courses/react-three-fiber/

Demo πŸ”—
https://godrays.wawasensei.dev

Final code πŸ”—
github.com/wass08/r3f-godrays

Starter code πŸ”—
github.com/wass08/r3f-webgpu-starter

#threejs #js #webgpu

β–¬β–¬β–¬β–¬β–¬β–¬ Useful L I N K S πŸ”— β–¬β–¬β–¬β–¬β–¬β–¬

Blender Tutorial to make godrays
youtube.com/watch?v=hZI2pqcp8ig

Three.js Shading Language
github.com/mrdoob/three.js/wiki/Three.js-Shading-Language

Threejs
threejs.org

React Three Fiber
https://r3f.docs.pmnd.rs/getting-started/introduction



β–¬β–¬β–¬β–¬β–¬β–¬ Support the channel πŸ™ β–¬β–¬β–¬β–¬β–¬β–¬

Become a member to get access to awesome perks:
youtube.com/channel/UCBH-5ctALmmOrm4kczL3urQ/join

β–¬β–¬β–¬β–¬β–¬β–¬ Connect with me πŸ‘‹ β–¬β–¬β–¬β–¬β–¬β–¬

πŸ’» The Discord Community
discord.gg/2wBhwchcWu

πŸ“Έ Instagram :
instagram.com/wawa.sensei

🎎 Facebook :
facebook.com/wawasenseiyt

🐦Twitter :
twitter.com/wawasensei

🐦TikTok :
tiktok.com/@wawasensei08


β–¬β–¬β–¬β–¬β–¬β–¬ T I M E S T A M P S ⏰ β–¬β–¬β–¬β–¬β–¬β–¬

00:00 Introduction
00:54 WebGPU / TSL Starter Pack
01:37 Learning process
02:17 Cylinder Geometry
05:54 Godray Shader with TSL
13:07 Smoothing & Inverted Fresnel
17:45 Loading our scene
19:04 Adding controls
20:20 Placing & Customizing our Godrays
23:31 Real Godrays
23:47 Conclusion

β–¬β–¬β–¬β–¬β–¬β–¬ CREDITS β–¬β–¬β–¬β–¬β–¬β–¬
Song: Blue Boi
Composer: Lakey Inspired
Website: youtube.com/LakeyInspired
License: Creative Commons (BY-NC 3.0) creativecommons.org/licenses/by-nc/3.0
Music powered by BreakingCopyright
How to Fake Godrays in Three.js (WebGPU + React)How to Create a 3D game with React Three Fiber: Part 3 - Character animationsMy $1,700/month Tokyo Furnished Apartment TourHow to create an amazing profile with GitHub | Customize your Github Profile ReadmeThree.js 101: How to Build 3D Websites (Ep 1 - Introduction) #threejsLets Fix Your React Three Fiber ProjectsReact Three Fiber tutorial - 3D animated Christmas ExperienceBuild a multiplayer game with React Three Fiber and Socket.ioHow to build a Dapp - Model the Infinity tower with Three.js (React Three Fiber)Multiplayer Game Tutorial with R3F & Socket.io: PathfindingHow to Bake Lighting with Blender for Three.jsThreejs & React Avatar Builder Tutorial - Part 7: Post Processing
Wawa Sensei |

How to Fake Godrays in Three.js (WebGPU + React)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER