graphics - DirectX: Calculate Gradient in the shader code -


i using pixel shader code uses sample function. want use samplegrad , hence want calculate derivatives in shader code. there way same?

thanks.

found intrinsic function ddx , ddy same. thanks.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -