Sign in to follow this  

pixel shader ddx() and ddy() functions

Recommended Posts

Hi, I looked up the ddx() and ddy() functions in quite a few places. Everyone says that they compute derivatives. but what exactly do they return? I mean, how do you define 'derivative' at a point in the texture?? also, there is reference to a variant of texNd(sampler, texcoord, ddx, ddy), which is supposed to get the return value from a mipmap depending on the values of ddx and ddy... could anyone elaborate?? Most importantly, is there any proper free HLSL reference on the internet, something like msdn for c++?? the closest I came was 'complete HLSL reference by sebastian laurent' which gives no more than 1 line for each function...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this