Quantcast
Channel: GLSL / Shaders - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 212

how to return a modified version of a PShape from a PShader

$
0
0

Hello,

Is it possible to return data from a PShader ?

I'm using a vertex shader to update the vertices position of a PShape. I'd like to access this modified version to perform additional modifications inside draw() or at least use this modified version with the same PShader next time draw() is called.


Viewing all articles
Browse latest Browse all 212

Trending Articles