# Problem with storing packed-data in a texture

**URL:** <https://discourse.processing.org/t/problem-with-storing-packed-data-in-a-texture/44317>\
**Category:** Coding Questions\
**Created:** [April 19, 2024, 11:37pm UTC](https://discourse.processing.org/t/problem-with-storing-packed-data-in-a-texture/44317 "2024-04-19T23:37:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [April 21, 2024, 4:17pm UTC](https://discourse.processing.org/t/problem-with-storing-packed-data-in-a-texture/44317/8 "2024-04-21T16:17:01Z")

</div>

Hi @Jon ,

Actually, don’t know which hardware you’re using, but if you’ve a modern graphic card with proper OpenGL support (4.3+) here is s.th. quite nice to study …

> [@Compute shader processing](https://discourse.processing.org/t/compute-shader-processing/38986):
>
> Here’s sketch i’ve been working on, still needs some tiding up. A compute shader where you can retrieve the values. It still needs some work, for now basic addition works, im adding basic string reader so you can expand the operations to multiply, divide, etc. The accuracy is currently an issue in some instances, when calculating float values. code structure add pgraphics to shader 2 for each varible to handle floats.// not sure if there is a better alternative canvas draw shader call canvas…

Cheers  
— mnse

---

_[View the full topic](https://discourse.processing.org/t/problem-with-storing-packed-data-in-a-texture/44317)._
