Jump to content
  • Advertisement

putenuter

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

122 Neutral

About putenuter

  • Rank
    Newbie
  1. Hi there ! I just have programmed a custom vertex shader for my OpenGL-based game. But now I want to make it run even on graphic cards which are not able to load custom vertex shaders. So I want to compute all necessary transformations on the CPU. My Problem is, that I have to transform ALL Vertices (or Polygons) in my scene by a 4x4-matrix, which has to be recomputed every frame. Does anybody know how to make this transformations in general and how to do them as Do I have to modify the modelview-matrix or the projection matrix ? I am currently quite desperate about this issue, I hope somebody knows a option how to "migrate" a vertex shader back to the CPU.
  2. Hi there ! I just have programmed a custom vertex shader for my OpenGL-based game. But now I want to make it run even on graphic cards which are not able to load custom vertex shaders. So I want to compute all necessary transformations on the CPU. My Problem is, that I have to transform ALL Vertices (or Polygons) in my scene by a 4x4-matrix, which has to be recomputed every frame. Does anybody know which OpenGL-methods to use ? Do I have to modify the OpenGL-modelview-matrix or the projection matrix ? I am currently quite desperate about this issue, I hope somebody knows a option how to "migrate" a vertex shader back to the CPU.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!