Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

GL_RGBA32F performance

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 dpadam450   Members   

2330
Like
0Likes
Like

Posted 22 February 2014 - 12:02 AM

I was using an FBO with GL_RGBA32F to store a computed normal map (generate 1x from a height map).
I changed it to a standard GL_RGB, unsigned byte texure, but comparing performances I decided to see how bad performance would be if I did all textures this way:

I changed my textures to this, from the standard GL_RGB internal format. I got 9 FPS, down from 170. I only have 39 textures. Explanation? Its not a bandwidth issue I don't think. Unless I go into gDebugger maybe I've used up all my GFX RAM and its swapping textures in system RAM. I do use some big shadow maps and VBO's so it could be possible.

glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB32F_ARB, this->width, this->height, 0, GL_RGB, GL_UNSIGNED_BYTE, this->pixels);


Edited by dpadam450, 22 February 2014 - 12:06 AM.


#2 dpadam450   Members   

2330
Like
0Likes
Like

Posted 22 February 2014 - 12:34 AM

GFX memory was filled.






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.