Jump to content

  • Log In with Google      Sign In   
  • Create Account


Problem with cgSetPassState()


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
1 reply to this topic

#1 keym   Members   -  Reputation: 229

Like
0Likes
Like

Posted 04 August 2012 - 03:36 PM

Hello,
I'm having a headache with cgSetPassState(pass) function. Basically, when I call it, all geometry disappears. I've already spent several days trying to figure out what's wrong, but no luck. When I comment the line with it, it's all right, but I want to setup some samplers and I have to use cgSetPassState() . Cg doesn't output any errors which makes things even worse. Posted Image To be more specific, I'm not changing any states in my shaders and I'm using CgFX files, so each shader is in separate pass. According to this http://www.pouet.net....php?which=7391 I have to use cgSetPassState, but for some reason it messes up my rendering and I'm stuck.

Sponsor:

#2 keym   Members   -  Reputation: 229

Like
0Likes
Like

Posted 11 August 2012 - 04:34 AM

Bumping, anybody? Posted Image




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.



PARTNERS