Rasterized Edge Gradients: Handling Discontinuities Differentiably

Stanislav Pidhorskyi, T. Simon, Gabriel Schwartz, He Wen, Yaser Sheikh +1 more
2/14/2026

No confident code implementation found for this paper.

Abstract

Computing the gradients of a rendering process is paramount for diverse applications in computer vision and graphics. However, accurate computation of these gradients is challenging due to discontinuities and rendering approximations, particularly for surface-based representations and rasterization-based rendering. We present a novel method for computing gradients at visibility discontinuities for rasterization-based differentiable renderers. Our method elegantly simplifies the traditionally complex problem through a carefully designed approximation strategy, allowing for a straightforward, effective, and performant solution. We introduce a novel concept of micro-edges, which allows us to treat the rasterized images as outcomes of a differentiable, continuous process aligned with the inherently non-differentiable, discrete-pixel rasterization. This technique eliminates the necessity for rendering approximations or other modifications to the forward pass, preserving the integrity of the rendered image, which makes it applicable to rasterized masks, depth, and normals images where filtering is prohibitive. Utilizing micro-edges simplifies gradient interpretation at discontinuities and enables handling of geometry intersections, offering an advantage over the prior art. We showcase our method in dynamic human head scene reconstruction, demonstrating effective handling of camera images and segmentation masks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{pidhorskyi2026rasterized,
  title  = {Rasterized Edge Gradients: Handling Discontinuities Differentiably},
  author = {Stanislav Pidhorskyi and T. Simon and Gabriel Schwartz and He Wen and Yaser Sheikh and Jason Saragih},
  year   = {2026},
  eprint = {2405.02508},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.02508},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.02508.svg)](https://codeofpaper.com/paper/2405.02508)

Discussion