Results 1 to 3 of 3

Thread: soft shadows and accumulation buffer

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2005
    Location
    italy
    Posts
    9

    soft shadows and accumulation buffer

    I have created soft shadows by jittering lights..
    I draw the entire scene and accumulate it then
    I slightly move the light and I redraw the entire scene.
    Finally I return the scene composed by the accumulated frames.
    The problem is that I redraw the entire scene
    even if only the shadow must to be redrawn.
    Is possible to redraw only the shadow??
    I want to draw the objects only once and then
    I want to use the accumulation buffer for the lights.
    Visual Basic 6.0 must die

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2005
    Posts
    145

    Re: soft shadows and accumulation buffer

    Is possible to redraw only the shadow??
    What do you mean? Can you post your code?

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2002
    Location
    Dresden, Sachsen, Germany
    Posts
    203

    Re: soft shadows and accumulation buffer

    maybe you can use the stencil buffer to mask regions that don't need to be drawn at all

Similar Threads

  1. Soft shadows
    By devdept in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 10-16-2006, 06:16 AM
  2. Blur offscreen buffer (Soft Shadows)
    By burnettryan in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 03-24-2005, 02:18 AM
  3. Soft Shadows using alpha buffer
    By imported_tfpsly in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 10-14-2002, 08:14 AM
  4. Soft Shadows
    By HellKnight in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 05-09-2001, 11:22 PM
  5. Soft Shadows
    By HellKnight in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-03-2001, 08:28 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