Skip to main content

Timeline for How do 2D volumetric lights work?

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Apr 9, 2016 at 2:33 answer added Alic Szecsei timeline score: 1
Dec 25, 2015 at 6:38 history tweeted twitter.com/StackGameDev/status/680276536331776001
Dec 22, 2015 at 19:17 comment added flotothemoon @SeanMiddleditch Thanks for the reply and info, very useful to know. Unfortunately no combination of "area lights", "opengl", "glsl", "lighting" or "2D" yielded any usable results, but I'll look again tomorrow.
Dec 22, 2015 at 18:35 comment added Sean Middleditch The term to look for in 3D is "area lights" (as in, light emanating from an area rather than a point). For real-time uses, these are often simulated as a sphere for "point" lights or a disc for directional lights. There are also techniques that can utilize constrained planes; the 3D equivalent of what you're looking for, I think. Unfortunately, I know very little about these other than their existence so I can't really provide a decent answer to your question.
Dec 22, 2015 at 17:49 comment added flotothemoon @Peethor Oh yeah of course, forgot about that sorry - included it now :)
Dec 22, 2015 at 17:48 history edited flotothemoon CC BY-SA 3.0
added 980 characters in body
Dec 22, 2015 at 17:23 comment added Peethor Could you show us the code that draws these lights?
Dec 22, 2015 at 17:20 comment added flotothemoon @Draco18s Alright, thanks for the reply. I find it kind of hard to believe that there are no lights like this at all - not every single light in every 2D game every can be punctual right? That link is great, looks like the fellow uses a similar approach to the one I proposed; intersecting with a light "line", as far as I understand that is.
Dec 22, 2015 at 16:51 comment added Draco18s no longer trusts SE The last time I saw lights that worked like this, it was in a 3D modeling stuidio (3D Max?). I've never seen them anywhere else. A little searching shows that OpenGL does not have them, but this fellow managed an approximation. Maybe that will help you. Post is old enough that the demo images are missing, however.
Dec 22, 2015 at 16:44 history asked flotothemoon CC BY-SA 3.0