# Texture sampling NEAREST in P2D render

**URL:** <https://discourse.processing.org/t/texture-sampling-nearest-in-p2d-render/48399>\
**Category:** Coding Questions\
**Created:** [April 4, 2026, 1:03pm UTC](https://discourse.processing.org/t/texture-sampling-nearest-in-p2d-render/48399 "2026-04-04T13:03:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![scudly](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/scudly/32/5597_2.png) [@scudly](https://discourse.processing.org/u/scudly)\
**Post date:** [April 4, 2026, 6:33pm UTC](https://discourse.processing.org/t/texture-sampling-nearest-in-p2d-render/48399/2 "2026-04-04T18:33:07Z")

</div>

Within glsl, you can use `texelFetch()` to read non-filtered data from a single pixel. Does that match what you are trying to do?

---

_[View the full topic](https://discourse.processing.org/t/texture-sampling-nearest-in-p2d-render/48399)._
