Jump to content
  • Advertisement
Sign in to follow this  

Multiple Render Target FBO and problem in Cg

This topic is 3917 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I have problem with MRT with FBO in Cg. With GLSL shader all it's ok. It's simple pixel shader code:
void main(float4 Color: TEXCOORD0,

out float4 oColor1: COLOR0,
out float4 oColor2: COLOR1)
	oColor1 = float4(0 ,0 ,1 ,0);
	oColor2 = float4(0 ,1 ,0 ,0);
With this shader all it's black in ARBFP1 profile and 2 tetures are blue in GLSLF profile. With one output color all it's ok. Whats is wrong with Cg? I use ATI Radeon 9550 with Omega Driver 38.421 (the newest) and Cg Toolkit 1.5 (the newest) [Edited by - carew on January 1, 2008 11:06:21 AM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!