Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SetClipPlane weirdness

4: Adsense

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   

1967
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.




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.