Forums > Jitter

Verlets + vertex_attr_matrix

Jan 21 2009 | 10:57 pm

Trying to decipher the Verlets patch, Just can’t find an example of how to change an attribute on a per vertex basis (I guess the vertex_attr_matrix should be used?).

For example having a jit.noise matrix control the size of the points on a per point basis.

Casey Farina

Jan 22 2009 | 12:00 am

check the rutt etra thread. my patch has a vertex attribute shader that does something similar… youd have to have a shader that edits the gl_pointsize parameter, (I think thats it – something similar). Im fairly certain thats what you’d have to do.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter