Hi there,

I’ve to do some intensive computations in some vertices of some shapes but I just need to get the results back to an array to avoid recalculations and the attributes of these vertices remain constants, I mean, I just will read their positions, normals, etc, but I’ll not change any of these values.

The question is can I use GLSL to realize the calculations and get back the results to an array?

If yes, can someone please give me a hint?

Thank you.

PD: I think it can be done using a vertex shader.