Jump to content


Strange problem when using FBO + vertex shader


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

#1 tigerlc

    New Member

  • Members
  • Pip
  • 5 posts

Posted 13 March 2006 - 08:23 PM

To my understanding, using vertex shader with FBO should be same as directly rendering to screen. But I encountered a very strange problem. That is, suppose I am using the minimal vertex shader,which only does the transformation using function "ftransform()", I have the following results

vertex shader + render to screen : OK (this means the shader is correct)
render to FBO + display rendered texture to screen : OK (this means FBO setting is fine)

vertex shader + render to FBO + display rendered texture to screen: not working (all black)

It's seems there is something to which I should have paid attention when using vertex shader + FBO. Thanks for any comments.

#2 tigerlc

    New Member

  • Members
  • Pip
  • 5 posts

Posted 13 March 2006 - 10:50 PM

Never mind. It seems due to transformation setting. Sorry.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users