diff --git a/src/layaAir/laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts b/src/layaAir/laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts index 4244873c3a..1f7a49d350 100644 --- a/src/layaAir/laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts +++ b/src/layaAir/laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts @@ -761,8 +761,8 @@ export class ShurikenParticleSystem extends GeometryElement implements IClone { } else { shaDat.addDefine(ShuriKenParticle3DShaderDeclaration.SHADERDEFINE_SIZEOVERLIFETIMERANDOMCURVES); - size.gradient._formatData(); size.gradientMin._formatData(); + size.gradientMax._formatData(); shaDat.setBuffer(ShuriKenParticle3DShaderDeclaration.SOLSIZEGRADIENT, size.gradientMin._elements); shaDat.setBuffer(ShuriKenParticle3DShaderDeclaration.SOLSizeGradientMax, size.gradientMax._elements); }