ParticleSystem Transform Scale × Shader UV Tiling

Hello.

I created a shader that changes the UV tiling based on size.

Quad works fine.

It doesn’t work with ParticleSystem.

What should I do?


float3 recipObjScale = float3( length(unity_WorldToObject[0].xyz), length(unity_WorldToObject[1].xyz), length(unity_WorldToObject[2].xyz) );
float3 objScale = 1.0/recipObjScale;

 fixed2 Multiply = (i.texcoord*objScale.rb);

I was able to change the UV tiling by receiving the particle size from the texcoord.

However, what I would like is to receive the particle’s Transform Scale.

Is there any way to do this?