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]
Multiple Render Target FBO and problem in Cg
Hi. I have problem with MRT with FBO in Cg. With GLSL shader all it's ok.
It's simple pixel shader code:
Perhaps this is the same problem you're encountering? You do have a Radeon board...
CG_PROGRAM_LOAD_ERROR with multiple render targets
Are you checking the error values for Cg? They might give you a clue as to what's happening.
CG_PROGRAM_LOAD_ERROR with multiple render targets
Are you checking the error values for Cg? They might give you a clue as to what's happening.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement