Back to Browse

Unity Tutorial: Procedurally Generated Lightning

1.6K views
Jun 16, 2022
1:14:47

In this tutorial we'll look at a way to create simple procedural lightning that hits a specific location. We'll be using simple cubes for the individual pieces of the lightning but the information we generate could be used to generate a mesh or with other systems to create a different appearance. 🎞️ Chapters 00:00 Introduction and General Setup 03:40 Overview of our approach 10:50 Configuring our lightning 15:50 Starting to build the lightning 22:50 Setting up our lightning growth function 32:20 Repositioning the lightning 34:40 Spawning the lightning 38:40 Branching 57:00 Scaling branch length with distance from target 01:02:50 Setting up the lightning material 01:05:00 Making the lightning strike 01:14:10 Closeout 📂 Grab the full project ➠ https://github.com/GameDevEducation/HDRPTutorial_ProceduralLightning If you've got questions add a comment below or send them in for the next Q&A video 🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA 📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-education/ Looking for other ways to get involved? 🟠 Support the channel on Patreon ➠ https://www.patreon.com/IainTheIndie 🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation 🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/ 🟣 Follow me on Twitter ➠ https://twitter.com/IainTheIndie 🎉 Thankyou to all of the Patrons 🎉 ➔ Manuel Baptista ➔ Grant Coble-Neal ➔ Kasper Enwall ➔ Adam Ercanbrack ➔ Maxamillian Marsh ➔ Kalvin Pearce ➔ Bradley Seymour ➔ Seriphis ➔ SiliconOrchid ➔ Callan Syratt ➔ Daniel Williams #Unity #Tutorial #GameDev

Download

0 formats

No download links available.

Unity Tutorial: Procedurally Generated Lightning | NatokHD