imageAtomicAdd in TD

Hello,

I need to be able to do atomic add on an image, unfortunately according the openGL documentaion it’s only working on 32 bits integer or 32 bits unsigned integer, but unfortunately TouchDesigner doesn’t support those image format only 8bits and 16bits are supported. I am missing something, or it’s impossible to do atomic add on an image with touchdesigner :frowning:.

Yes, that’s correct for images. The integer format images don’t really fit into the TOP workflow well since a huge amount of the TOP operators wouldn’t make much sense with integer color values.
You can use atomics for intermeidate data on the atomics page of the GLSL TOP though.