Help ~,custom particle system move vertex position is very slow FPS....

Hi all, any method about optimized the move vertex position ?I test the FPS with 10,000 vertexes in particle system,unity 's particle system is more higher than my.how control the move vertex in unity 's particle system?Maybe run in C++?Or run in shader ?



2195845--145730--p3.jpg

any help?

Have some methed can add property in vertex buffer? Maybe can add a vetor3[ ] movingdir for move vertex,but i found nothing about vertex buffer in unity. I want run on mobile device

I decise to move vertex in shader,How can i add more vector3d propertys in vertex buffer ,need help!

some one?

you can’t… Use existing channels like colors, normals, uvs… whatever you aren’t using.

why can not? colors ,normals ect …this channels is for other use,not enough !

now i can moving and and chang start size,No idea about rotate for single quad,any help?

  half3x3 roMatrixZ={
                      half3(cos(dxTime),-sin(dxTime),0),
                      half3(sin(dxTime),cos(dxTime),0),
                      half3(0.0,0.0,1.0)
                  };
              half3 p=pos.xyz;
         pos.xyz=mul(p,roMatrixZ);
         o.pos = mul(UNITY_MATRIX_MVP,pos);

can not rotate around quad center, need help!

when use roMatrixZ to rotate ,when batching two particle systems all visible in camera,rotate wrong,why so strange…


AND I want use mesh.uv2 for change lifetime and rollspeed,but in shader can not
work by v.texcoord2,and TANSFORM_UV(2) not work too.ANY HELP?

Up

How can i use boneweight in shader?