Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Gaussian Blur on texture

  1. #11
    Junior Member Newbie
    Join Date
    Sep 2012
    Posts
    3
    what is width and height here?
    If my image size 720X480 does it mean width is 720 and height is 480.
    Or is it the size of the window

  2. #12
    Junior Member Newbie
    Join Date
    Sep 2012
    Posts
    3
    I got answer for the above question.
    But now I have another question, in the earlier example of a fragment shader it uses 7x1 matrix.
    What if I want to use 7x7 matrix?

  3. #13
    Junior Member Newbie
    Join Date
    Sep 2012
    Posts
    3
    Hi Vexator I have one question, in the earlier example of a fragment shader it uses 7x1 matrix.
    What if I want to use 7x7 matrix? Do I have to use a nested loop with u_Scale = vec2(1.0/width, 1.0/height )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •