OpenGL Tutorial 53: Lens Flare

Channel:
Subscribers:
244,000
Published on ● Video Link: https://www.youtube.com/watch?v=OiMRdkhvwqg



Category:
Tutorial
Duration: 17:46
39,162 views
558


Getting back to the OpenGL tutorials this week with a simple sprite-based lens flare effect!

Try out the runnable demo:
https://www.dropbox.com/sh/i6chq9yj6c80h2y/AADSGHrvODxqfhk_0JtGRB5Sa?dl=0

Starting code download (needs to be set up in a project with lwjgl.jar, lwjgl_utils.jar, and PNGDecoder jar, as well as the relevant natives):
https://www.dropbox.com/sh/vo7dwmaccrtc2ng/AAAr48L7pGsSXs0EEQtkWKspa?dl=0

Finished code download:
https://www.dropbox.com/sh/89l4xx87sdfde9y/AAD0hRdH4PbMGBC2BgPqTgbGa?dl=0

More complex lens flare technique:
http://john-chapman-graphics.blogspot.de/2013/02/pseudo-lens-flare.html

Particle tutorial (similar to rendering sun):
https://www.youtube.com/watch?v=6PkjU9LaDTQ

GUI tutorial (similar to rendering flare quads):
https://www.youtube.com/watch?v=vOmJ1lyiJ4A

Perspective division explained:
http://www.learnopengles.com/tag/perspective-divide/


Support the series on Patreon: https://www.patreon.com/thinmatrix

Facebook Page: https://www.facebook.com/thinmatrix
Twitter: https://twitter.com/ThinMatrix
Tumblr: http://thinmatrix.tumblr.com/
Instagram: http://instagram.com/thin_matrix
Check out my game on IndieDB: http://www.indiedb.com/games/equilinox


End of video music- Kai Engel, "Waking Stars":
http://freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars







Tags:
opengl tutorial
lwjgl tutorial
java 3d game tutorial
3d game tutorial
opengl 3+
opengl 3d game
glsl tutorial
opengl 3D tutorial
3d game
java game
lwjgl
opengl
java
3d game development
glsl
game engine
java 3d
Tutorial
shader
cube map
render
lens flare
glare
sprite