Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualWaterlimon

Posted 18 March 2013 - 12:24 PM

AFAIK usually you would use floats and not doubles on the GPU

 

Thats a lot of triangles and your GPU doesnt seem that powerful, so i would say your usage of VBO's isnt the problem, simply the amount of work youre trying to do.

 

Assuming your shader isnt full of ifs, what you should do is reduce the amount of triangles you draw. Dont draw objects outside the screen, draw far away stuff with lower detail (LoD)...


#1Waterlimon

Posted 18 March 2013 - 12:23 PM

Thats a lot of triangles and your GPU doesnt seem that powerful, so i would say your usage of VBO's isnt the problem, simply the amount of work youre trying to do.

 

Assuming your shader isnt full of ifs, what you should do is reduce the amount of triangles you draw. Dont draw stuff outside the screen (split the triangles in big chunks that you can check whether theyre visible or not (check against radius or AABB or something) and only draw visible ones, like trees or buildings or monsters), draw far away stuff with lower detail (LoD) and so on.


PARTNERS