Greetings!
Well, I haven’t been looking closely at the graphics industry for the past two years now, so there are things concerning recent developments I can’t fully cath up with… I’m saying this because I’m not really sure what kind of problem I’m confronted with, maybe I’m overlooking something trivial (which could easily be the case).
I’m basically trying to run a Cg program
It may be funny, but following the Cg docs, I initialize a cg context, load the program and eventually enable a FP profile. So far so good. Checking Cg errors says everythins’s alright…
At rendering time, I set up the shader state (for the sake of simplicity I’m just binding the loaded FP CG program) and render the world.
A black screen.
At first I thought it’d be maybe a depth testing problem (I didn’t set the DEPTH FP output, so it could have been possible that the default value is on the near clip plane, so all fragments would be discarded) so I disabled depth testing, as well as stencil testing. Then I simplified the FP shader to simply return a red value (expecting a red screen)…
Nothing.
Desperated, I decided to check ALL Cg errors, and Eureka! there was it: after the binding of the FP program the Cg runtime sayed: “profile not supported”. Considering the fact, that I loaded the fp program, enabled the profile etc AND checked all errors in between (and there were none), I was a little bit confused…
Any ideas?
I’m using latest Nvidia drivers and a GForce 6600 Gt…
Thanks for any responses…