ddx and ddy
Could someone give me some insight into this ddx and ddy functions of HLSL, like what exactly they do and where they may be useful
They compute the screen-space partial derivative.
One example of their use is to do anti-aliasing of textures.
I found an example here: http://www.shadertech.com/shaders/Checker.fx
One example of their use is to do anti-aliasing of textures.
I found an example here: http://www.shadertech.com/shaders/Checker.fx
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement