OpenGL 3D Game Tutorial 34: Particle Effects
LWJGL tutorial series on how to create a 3D Java game with OpenGL!
The first of 3 particle effect tutorials, this week concentrating on implementing some basic particle systems.
Support the series on Patreon: https://www.patreon.com/thinmatrix
Particle package code download:
https://www.dropbox.com/sh/itpg1meg9wqx7p7/AADtZFxd5ID0zFWrEu8x8E8ha?dl=0
Simple ParticleSystem code:
https://www.dropbox.com/sh/3q5cqw968ocfmhb/AAD28jlJH0SzevinyV0n-diPa?dl=0
Complex ParticleSystem code:
https://www.dropbox.com/sh/ichvdjpiqvdo8gw/AAC1mQUUakosx_NJnVuiMBzOa?dl=0
Basic matrix maths explained:
http://www.mathsisfun.com/algebra/matrix-introduction.html
One thing you might notice is that we don't actually completely make the particles "face" the camera, but we instead make them face the opposite direction to the direction that the camera is aiming in. This is a bit quicker to do and could save time if rendering thousands of particles, and it doesn't make any noticeable difference in the game.
Upcoming tutorials:
- Particle Effects 2 & 3
- Random Terrain Generation
- Shadows
- Post processing
Future Tutorial Series:
- Game Audio
- Multiplayer
- Advanced Game Dev Concepts
- OpenGL Optimizing Techniques
Previous tutorial topics:
- Display
- VAOs and VBOs - Rendering a quad
- Rendering using glDrawElements
- Shader introduction
- Coloring using shaders
- Texturing
- Matrices, moving and rotating
- Loading 3D OBJ models
- Lighting I
- Lighting II
- Optimizations
- Transparency
- Fog
- Multitexturing
- Player Movement
- 3rd Person Camera
- Mipmapping
- Terrain Generation
- Terrain Collision Detection
- Texture Atlases
- GUIs/HUDs
- Multiple Light sources
- Point light attenuation
- Skybox
- Day/Night
- 3D Mouse Picking
- Water
- Cel Shading
- Normal Mapping
- Rendering Text
- Signed Distance Field Fonts
- Particle Effects
Tumblr: http://thinmatrix.tumblr.com/
Facebook Page: https://www.facebook.com/thinmatrix
Instagram: http://instagram.com/thin_matrix
Twitter: https://twitter.com/ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/socuwan
Contact me: thinmatrix@gmail.com
End of video music- Kai Engel, "Waking Stars":
http://freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars