Results 1 to 2 of 2

Thread: Linear sampling Gaussian Blur

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2012
    Posts
    5

    Linear sampling Gaussian Blur

    I've recently been experimenting with implementing a gaussian blur which samples half texels in attempt to retrieve the data of both texels. However I'm slightly skeptical of my results so I'm going to post my methods here and an output of the image.

    I'm currently calculating my weights and offsets like so: weight1 * index + weight2 + (index + 1). After which I divide by the texture size.
    Attached Images Attached Images

  2. #2
    Junior Member Newbie
    Join Date
    Aug 2012
    Posts
    5
    When I use i as the offset and then multiply by

    vec2 pixel_size = vec2(0.5 / tex_size.x, 0.5 / tex_size.y);

    Would this make any difference?

Similar Threads

  1. Results of Gaussian Blur are white.
    By UraniumSlug in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-22-2013, 02:06 AM
  2. Gaussian Blur on texture
    By devdept in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 09-18-2012, 07:12 AM
  3. Gaussian blur with varaible radius
    By imported_dirhem in forum OpenGL: GLSL
    Replies: 4
    Last Post: 09-09-2011, 06:39 AM
  4. Gaussian Blur Filter Sample
    By manish.agarw in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-25-2011, 04:35 AM
  5. Gaussian blur
    By opencl_JEDI in forum OpenCL
    Replies: 1
    Last Post: 06-24-2010, 03:13 PM

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