ISSUE 02THURSDAY, JUNE 4, 2026PRINT 06.2026

GEOMDIGEST

THE INSIDER PUBLICATION FOR COMPUTATIONAL GEOMETRY & DESIGN

GEOMDIGEST / PAPERS / AUTOMATIC-SAMPLING-FOR-DISCONTINUITIES-IN-DIFFERENTIABLE-SHADERS-2025-999601
No code

Automatic Sampling for Discontinuities in Differentiable Shaders

2025 / ACM Transactions on Graphics / DOI 10.1145/3763291

We present a novel method to differentiate integrals of discontinuous functions, which are common in inverse graphics, computer vision, and machine learning applications. Previous methods either require specialized routines to sample the discontinuous boundaries of predetermined primitives, or use reparameterization techniques that suffer from high variance. In contrast, our method handles general discontinuous functions, expressed as shader programs, without requiring manually specified boundary sampling routines. We achieve this through a program transformation that converts discontinuous functions into piecewise constant ones, enabling efficient boundary sampling through a novel segment snapping technique, and accurate derivatives at the boundary by simply comparing values on both sides of the discontinuity. Our method handles both explicit boundaries (polygons, ellipses, Bézier curves) and implicit ones (neural networks, noise-based functions, swept surfaces). We demonstrate that our system supports a wide range of applications, including painterly rendering, raster image fitting, constructive solid geometry, swept surfaces, mosaicing, and ray marching.

0
Citations
32
References
0
Implementations
No evidence
Repro status

Reproducibility Dossier

No evidenceConfidence: automated / checked Apr 2026

GEOMDIGEST treats reproducibility as an evidence trail: public artifacts, documentation, data, packaging, archival stability, and verification checks. Numeric scores are only exposed for audited records; public pages prioritize the evidence itself.

0
Evidence
0
Verified
not yet
Code
not yet
Data
not yet
Docs
not yet
Build checks
No public reproducibility evidence has been attached yet. Editors can add code, data, documentation, package, demo, benchmark, archive, or supplement links.
Methodology
Improve this dossier

Implementation Index

No implementations indexed yet

This paper is in the knowledge graph, but we have not attached a runnable artifact yet.