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
Post a Comment