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.

7m read timeFrom wickedengine.net
Post cover image
Table of contents
BackgroundFirst tryFixing the error

Sort: