ikaruga Posted February 17, 2022 Share Posted February 17, 2022 I'm currently using the glow filter to achieve this simple glow effect (the 1st image). However, I'm looking for something more along the lines of a lens flare effect (the 2nd image). ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Exca Posted February 17, 2022 Share Posted February 17, 2022 There's basically 2 methods (that I know of) how you can achieve a lens flare effect like in the example pic. 1. Create sprites that are the parts of the flare and move/animate/fade them so that you get a nice effect with motion. Requires some amount of tweaking to get it correct. Using a virtual camera might help. 2. Create a fullscreen postprocessing filter and calculate the effect of lens flare for each pixel. Requires lots of glsl knowledge to make it look as good as in the example pic. Quote Link to comment Share on other sites More sharing options...
ikaruga Posted February 18, 2022 Author Share Posted February 18, 2022 4 hours ago, Exca said: There's basically 2 methods (that I know of) how you can achieve a lens flare effect like in the example pic. 1. Create sprites that are the parts of the flare and move/animate/fade them so that you get a nice effect with motion. Requires some amount of tweaking to get it correct. Using a virtual camera might help. 2. Create a fullscreen postprocessing filter and calculate the effect of lens flare for each pixel. Requires lots of glsl knowledge to make it look as good as in the example pic. 2) sounds like something someone has already created ? Any ideas where you could find one? Quote Link to comment Share on other sites More sharing options...
Exca Posted February 18, 2022 Share Posted February 18, 2022 6 hours ago, ikaruga said: 2) sounds like something someone has already created ? Any ideas where you could find one? Yep, I would assume one would exist also. Havent seen one though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.