1. [Publications](/index.php/publications)
2. Filtering After Shading With Stochastic Texture Filtering
 
 # Filtering After Shading With Stochastic Texture Filtering

  ![](/sites/default/files/styles/wide/public/publications/Screen%20Shot%202023-05-16%20at%206.12.49%20AM.png?itok=FQlrk43n)

 2D texture maps and 3D voxel arrays are widely used to add rich detail to the surfaces and volumes of rendered scenes, and filtered texture lookups are integral to producing high-quality imagery. We show that applying the texture filter after evaluating shading generally gives more accurate imagery than filtering textures before BSDF evaluation, as is current practice. These benefits are not merely theoretical, but are apparent in common cases. We demonstrate that practical and efficient filtering after shading is possible through the use of stochastic sampling of texture filters.

Stochastic texture filtering offers additional benefits, including efficient implementation of high-quality texture filters and efficient filtering of textures stored in compressed and sparse data structures, including neural representations. We demonstrate applications in both real-time and offline rendering and show that the additional error from stochastic filtering is minimal. We find that this error is handled well by either spatiotemporal denoising or moderate pixel sampling rates



 ## Authors



[Matt Pharr](/index.php/person/matt-pharr)

[Bartlomiej Wronski](/index.php/person/bart-wronski)

Marco Salvi (NVIDIA)

Marcos Fajardo (Shiokara–Engawa Research)

 

 

 ## Publication Date



Tuesday, May 7, 2024

 

 ## Published in



[ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games (I3D)](https://i3dsymposium.org/2024/)

 

 ## Research Area



[Computer Graphics](/index.php/research-area/computer-graphics)

 

 

 ## External Links



[Shadertoy 1](https://www.shadertoy.com/view/clXXDs)

[Shadertoy 2](https://www.shadertoy.com/view/MfyXzV)

[Talk Video](https://youtu.be/e3391_C6aXE)

 

 

 ## Uploaded Files



[Paper](https://d1qx31qr3h6wln.cloudfront.net/publications/stochtex.pdf "Open file in new window")12.85 MB

[Slides](https://d1qx31qr3h6wln.cloudfront.net/publications/stochtex-slides_0.pdf "Open file in new window")6.37 MB

 

 

 ## Award



Best Paper