On Aug 19, 10:21 pm, mclovin <[email protected]> wrote: > I was wondering if there was a simple way to apply glow effects for > simple things like GL points and lines in pyglet The OpenGL Superbible forth edition has a chapter about HDR rendering which explanations how you can make bright spots glow (page 633). Basically, you render your scene into an FBO with two textures attached and a fragment shader that only writes the bright parts into the second texture, then you generate mipmaps from that texture and apply a 5x5 gaussian kernel and you overlay that texture for display on your normal scene.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
