   GPU write data for CPU?
  In current DirectX 10, is it possible to modify the input texture in shader?If possible, how to make it .  thanks
  No you cant.A texture bound as shader input cannot be the render target aswell.   ;  So, How people do image processing and simulation in GPU ?Take smoke simulation for example, If we have a texture storing initial pressure for 256*256 particlesAfter GPU calculate those data, how can we preserve these latest data for next GPU calculation?still no idea~~thanks for your reply.   ;  bind a texture surface as the render target (or multiple render targets, if you need to write more data), render to that. And use that texture as an input for other calculations, again writing to a new texture surface.   ;  You just cant have the same texture bound to the GPU as input and outup at the same time   ;Quote:Original post by hbd760112So, How people do image processing and simulation in GPU ?Take smoke simulation for example, If we have a texture storing initial pressure for 256*256 particlesAfter GPU calculate those data, how can we preserve these latest data for next GPU calculation?still no idea~~Use a pair of textures, and ping-pong between them. Data starts in texture A, then you render the modified data to texture B, and the enxt frame, back to texture A...   ;The Braid developer has recently revealed his next title, The Witness, and talks to us about the design of this game in detail, also diving into the ethics of game design and other issues indie and mainstream developers face.  View the full article