Jump to content

View more

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

Seriously don't understand WHY my framebuffer isn't rendering as a texture

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
24 replies to this topic

#21 Lil_Lloyd   Members   

287
Like
0Likes
Like

Posted 13 July 2012 - 01:45 AM

can you please upload glbatch.h and gltools.h as well?


Just comment those lines out of the includes.h file, they are not used. Sorry!

#22 Yours3!f   Members   

1532
Like
0Likes
Like

Posted 13 July 2012 - 01:54 AM

can you please upload glbatch.h and gltools.h as well?


Just comment those lines out of the includes.h file, they are not used. Sorry!


ok, I did and my Catalyst driver crashes at this if statement:
if(glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
		 std::cout<<"problem with framebuffer!";
     else
         std::cout<<"framebuffer ok! <img src='http://public.gamedev.net//public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />";
you're doing something really wrong :D:D

#23 Yours3!f   Members   

1532
Like
0Likes
Like

Posted 13 July 2012 - 02:00 AM

ok, now it starts, my compiler fuzzed up something... but I can only see a pink screen.

#24 Lil_Lloyd   Members   

287
Like
0Likes
Like

Posted 13 July 2012 - 03:59 AM

ok, I did and my Catalyst driver crashes at this if statement:
if(glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
std::cout<<"problem with framebuffer!";
else
std::cout<<"framebuffer ok! :)";
you're doing something really wrong :D


That's the thing that bugs me, my framebuffer is 'complete' as the framebuffer ok message always prints to the std output

#25 Ignifex   Members   

520
Like
0Likes
Like

Posted 24 July 2012 - 02:04 PM

Could you try adding a glDrawBuffer(GL_BACK); before rendering to the backbuffer? If your texture appears correctly in gDebugger, the problem should be in the second drawing step.




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.