Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Programmable Pipeline (A.K.A Shaders) instead of Fixed Function Pipeline  (Read 1699 times)

0 Members and 3 Guests are viewing this topic.

kurasu1415

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
So, I have a previous post that is not clear enough at all. I am trying to move away from fixed function completely. I have done this previously in SFML 1.5, but things have changed a lot in SFML 2. I want to do 100% Raw OpenGL without the help of SFML, and at the very end, render it to my Window. Is this possible? Essentially, I do not want to do GLBegin() and GLEnd(). I want to pass my VAOs to compiled shaders and render that way.

Thanks,
Kurasu1415

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Why not? Just use the sf::Window class to create a window with an OpenGL context inside, and then do whatever you like with OpenGL.

What's your problem?
Laurent Gomila - SFML developer

kurasu1415

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
What I meant by my previous post not being clear, was that I didn't make my issue clear enough. It sounded like I still wanted to use Fixed Function, so I made a new topic with a much clearer question.

I was trying to find out the requirements for this. Apparently, its just create the context inside a window. I wanted to make sure that SFML didn't require me to use any of it's OpenGL-related functionality.

Thanks for the fast response as always Laurent!

 

anything