Advertisement

DirecX9 Clipping Planes

Started by June 18, 2018 04:56 PM
2 comments, last by deathwingA 6 years, 6 months ago

I am able to do this with DirectX11 with SV_ClipDistance[n] semantics, from RasterTek DX11 Tutorial  but since my current project uses DirectX9 (can't run shaders_4_0 )is there any way I can do this by shader like in DX11?  I need these for my water reflection and refraction

Help i'm to depended on school library

D3D 9 has custom clipping planes as part of the fixed function state: https://msdn.microsoft.com/en-us/library/windows/desktop/bb174426(v=vs.85).aspx

Advertisement
8 hours ago, Hodgman said:

D3D 9 has custom clipping planes as part of the fixed function state: https://msdn.microsoft.com/en-us/library/windows/desktop/bb174426(v=vs.85).aspx

Thanks,mate. After a bit of snooping around I manage to do it.

 

 

Help i'm to depended on school library

This topic is closed to new replies.

Advertisement