Results 1 to 3 of 3

Thread: Surfaces are seperated in NVidia graphics

  1. #1
    Junior Member Newbie
    Join Date
    May 2013
    Posts
    12

    Surfaces are seperated in NVidia graphics

    All surfaces a seperated in NVidia graphics when using a shader, which uses only shadowmap and normalmap. But the whole thing runs great on IntelHD.
    Can anyone help what can be the reason. The whole code is too big to attach, but pls mention if any part can help
    Attached Images Attached Images

  2. #2
    Junior Member Newbie
    Join Date
    May 2013
    Posts
    12
    Removing following code solved it:

    glEnable(GL_POLYGON_SMOOTH);
    glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    3,103
    Quote Originally Posted by rakeshmalik91 View Post
    Removing following code solved it:

    glEnable(GL_POLYGON_SMOOTH);
    glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
    Polygon smoothing requires that the framebuffer has an alpha channel and that primitives are rendered from front to back with depth tests disabled and the correct blending function used. As such, it's rarely useful. The modern alternative is multi-sampling, which doesn't require primitives to be depth-sorted; however, it does increase memory consumption and bandwidth.

Similar Threads

  1. 3D Detecting Collisons and keep objects seperated (Ball Maze)
    By mfaorlkzus in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-28-2016, 02:30 PM
  2. Black screen on nVidia graphics
    By Roozi489 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-03-2015, 08:21 PM
  3. OpenGL rendering on a seperated thread
    By imported_Groovounet in forum OpenGL: Windows
    Replies: 4
    Last Post: 05-01-2007, 04:43 PM
  4. NVIDIA Graphics Card
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 07-25-2003, 12:48 PM
  5. Which nVidia Graphics Card
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-12-2001, 07:51 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