Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: FBO problems - youtube Link added ....

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2008
    Posts
    4

    FBO problems - youtube Link added ....

    <a href="http://www.youtube.com/watch?v=-P3OAdEM_uI"> YouTube Video Link </a>


    I'm trying to implement Deferred Shading. I get the current result above when I render my terrain Fixed Function to a FBO. Then I draw a full screen quad Fixed Function of the FBO texture to the screen. At first I thought it was the fact that I used GL_LINEAR, but since I ahve changed it to GL_NEAREST and I still get the same result.

    ANy help is appreciated...

    I have a post on gamedev stating more about the problem.

    Thanks in advance

    <a href="http://www.gamedev.net/community/forums/topic.asp?topic_id=508139"> GameDev Post </a>

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    748

    Re: FBO problems - youtube Link added ....

    I think its a form of depthbased z-fighting and It looks like your not culling the back faces.

    as for the depth texture you referred to on gamedev, try GL_DEPTH_COMPONENT24 instead of GL_RGBA.

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2008
    Posts
    4

    Re: FBO problems - youtube Link added ....

    thanks........you solved by problem.

Posting Permissions

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