Results 1 to 3 of 3

Thread: Post render filtering

  1. #1
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    118

    Post render filtering

    Which is 'the way' of doing post render filtering like adjusting the brightness and blur of a frame? Suppose I
    want to make the display brighter when the camera is looking to a lamp or to the sun, how would you do this? Is
    there a way of doing this in hardware?
    Regards...

  2. #2
    Guest

    Re: Post render filtering

    The right way is to draw with the correct brightness. Blur is harder but you can use the accumulation buffer. That is not hw accelerated on consumer cards so it is not realtime.

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Sep 2000
    Location
    SWEDEN
    Posts
    601

    Re: Post render filtering

    For the brightening effect, most people adjust the hw gamma ramp. The fastest way to blur the sceen (besides doing it on the CPU, which would probably be slower) I can think of is to render in a lower resolution, copy to a texture (with automaticaly generated mipmaps if you feel like it) and then draw that on a scrren aligned quad. If you use trilinear mip mapping and the texture lod bias extension you could even make it blur out gradually. Should look pretty good.

Similar Threads

  1. Trying to post
    By arealperson in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-04-2014, 05:41 AM
  2. Render FBO to window example (post processing)
    By scarecr0w132 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-27-2014, 09:28 AM
  3. Where's my post?
    By glfreak in forum OpenGL: General
    Replies: 5
    Last Post: 04-22-2011, 12:39 PM
  4. My First post
    By Rohithzhere in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-30-2009, 06:50 PM
  5. My first post!
    By relmas in forum OpenGL: GLSL
    Replies: 0
    Last Post: 03-04-2004, 03:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean