Results 1 to 10 of 42

Thread: pascal and learning 3d

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I figured out that for the world made of cubes it might be worth a try to feed points to the vertex shader instead of triangles and build cubes in the geometry shader. So I did and it seems to work. But only on the integrated graphics card I have 2 in my laptop and when I switch to nvidia all I see is darkness. Integrated driver says it's opengl 3.1 and nvidia's is 4.3. Can I somehow force nvidia to work in 'older' mode? all the tuts I've seen either use glew or glut (which i don't) to initialize the context so I'm confused how to do that

  2. #2
    Can you show shader code? Graphics cards are very picky about that.

  3. #3
    hey, you were right i've run test with simplest shaders which resulted in black screen also so after some tinkering with syntax now everything works. too bad that shader linker didn't bother with reporting any problems

Bookmarks

Posting Permissions

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