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
DirecX9 Clipping Planes
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
. 22 Racing Series .
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
Popular Topics
Advertisement