GPU particles disappeared with BILLBOARDMODE_STRETCHED

PG: https://playground.babylonjs.com/#0K3AQ2#2479
I noticed BILLBOARDMODE_STRETCHED is valid for GPUParticleSystem, but I failed to find any particle after setting this.

I can’t tell the difference between BILLBOARDMODE_ALLPreformatted textand BBILLBOARDMODE_STRETCHED Preformatted text(tested with a generic particle system)
What should the expected BILLBOARDMODE_STRETCHED Preformatted textlook like?

This playground can see the difference: https://playground.babylonjs.com/#0K3AQ2#2481
Texture in the first playground will look the same after rotate.

I’ve checked the difference and the internal buffer

renderVertexBuffers[“direction”] = renderBuffer.createVertexBuffer(“direction”, offset, 3, this._attributesStrideSize, true);

not working seems to be the problem.

This PR will fix the problem:

2 Likes