Particles and Transparent Objects

Particles and Transparent Objects

Jump to heading Section Map + Particles

Linework supports the combination of using particles and the usage of the section map feature available for the edge detection renderer. This requires some setup.

To make this work, use a custom particle material (use the default Unity particle shader, but just make a material for it and assign it on the particle system). Then in the inspector of the particle system, enable custom vertex streams and then write the center of each particle to TEXCOORD0.zw. See the image below to see how it should look.

Pasted image 20250104184140

Then in the edge detection settings, enable the Particles option.

Pasted image 20250104184806

Now each particle should get a different color in the section map and each particle will get outlined.

❓ Confused?

Need more information about any of this? Contact me.

⭐ Enjoying Linework?

Writing a review helps me out greatly! It helps the asset's visibility and supports me in the development of Linework! If you have a support question, check ⁠support instead. Thank you very much.

Write a review