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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -