This post explains a method to compute derivatives for texture filtering in compute shaders. It discusses different ways to share UVs for nearby pixels and how to compute derivatives for texture sampling with explicit gradients.
Sort: