Results 1 to 2 of 2

Thread: OpenGL state changes performance?

  1. #1

    OpenGL state changes performance?

    In DirectX changing states lowers the performance. Is the same happening in OpenGL? If so, which states are the most/less resource consuming? :?

  2. #2

    Re: OpenGL state changes performance?

    Quote Originally Posted by cronodragon
    In DirectX changing states lowers the performance. Is the same happening in OpenGL? If so, which states are the most/less resource consuming? :?
    Yes, depending on what state you change, usually most expensive is binding shaders, then next one is binding textures (which is not as nearly expensive as binding another shader).

    in opengl state changes are generally cheap.
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

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
  •