Godot Animated Texture 3D Particles Tutorial
Polysthetic
How to make particles that are animated with sprite sheet textures in Godot 3.4.2.
⏱️ Timestamps: 0:00 Intro 0:57 Setting up the particles material 1:55 The quick way 4:25 Explaining the generated shader code 5:45 The long way - Creating a new shader 6:23 Writing particle billboarding in the shader code 8:25 Rotating the particle billboards 11:38 Creating the animations 17:45 Selecting different animation tracks 21:14 Completed shader
📻 Addendum: You may notice that the scale particle property also doesn't work unless added to the shader code. We can do this by adding the length of the original particle global matrices to our new global matrix, as follows:
mat4(CAMERA_MATRIX[0]*length(WORLD_MATRIX[0]), CAMERA_MATRIX[1]*length(WORLD_MATRIX[1]), WORLD_MATRIX[2], WORLD_MATRIX[3]);
🎶 Music tracks from:
- Celestial Alignment - Precious Moments
- Provided by Lofi Girl
- Watch: https://www.youtube.com/watch?v=BOHa1EfnGlg
- Listen: https://open.spotify.com/album/2DMStFrsMBs6cLiD74z97I
You can also visit me at: WEBSITE 🌏 https://polysthetic.com INSTAGRAM 📸 https://www.instagram.com/polysthetic/ THREADLESS 🕶️ https://polysthetic.threadless.com DRIBBBLE 🏀 https://dribbble.com/polysthetic YOUTUBE 🎥 https://youtube.com/c/polysthetic AUDIOMACK 🎼 https://audiomack.com/polysthetic TWITTER 🐦 https://twitter.com/polysthetic LINKEDIN 📇 https://www.linkedin.com/company/polysthetic ... https://www.youtube.com/watch?v=-c38gFbGO6U
156756040 Bytes