Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


SetClipPlane weirdness


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
No replies to this topic

#1 Mona2000   Members   -  Reputation: 629

Like
0Likes
Like

Posted 23 August 2012 - 07:44 PM

I'm developing a game, and I use user clip planes to render water reflections. Normally the code runs fine, but randomly it fails to work (no clipping at all). The calls to SetClipPlane and SetRenderState(D3DRS_CLIPPLANEENABLE, D3DCLIPPLANE0) succeed, GetClipPlane and GetRenderState report that the clip plane is active and has the correct values... but it just doesn't clip anything.
This happens to me and 2 other users (all 3 with an AMD graphics card) - is there an issue with how it's implemented in the AMD driver? Is there a hack that I have to use to make it work (I have already tried this, to no avail)?

I'm not sure if it's relevant, but SetClipPlane doesn't seem to work with the reference rasterizer. Ever.
And yes, I am aware that I can achieve the same result with texkill/clip in the Pixel Shader, but the thread is not about that. Posted Image

Thanks in advance.

Sponsor:



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