SPS and Edge Rendering

I would love to use edge rendering on particles in a solid particle system. Here’s an example of what I would like to do.


Notice the default box has an edge renderer, but the SPS doesn’t have edge rendering. How can I get edge rendering on the particles?

Pinging @jerome but I don’t think it’s possible for the time being.

I didn’t test it but the SPS is a standard mesh. So apply the edge rendering to the SPS mesh and check how it works :slight_smile:

1 Like

This does not work for me, only the original disposed box object edges show up.

Just figured it out. If I do

const mesh = sps.buildMesh(); sps.setParticles(); sps.refreshVisibleSize(); mesh.enableEdgesRendering();

it works. If I do

const mesh = sps.buildMesh(); mesh.enableEdgesRendering(); sps.setParticles(); sps.refreshVisibleSize();

it only outlines the initial box.