Particle system source code?

Hi! I’m interested in making particle systems in MMD by making a particle system in unity and somehow importing it into MMD.

As far as I know, MMD takes particle systems in the form of .fx files coded in HLSL, so my logic is that if I can get the raw HLSL code from Unity when I make a particle system, I can just paste it into a .fx file and use that in MMD.

I’m just grasping at straws on what I can do here, since I can’t find many tutorials on HLSL particle systems, and absolutely no tutorials on MMD particle systems. If someone can at least point me in the right direction, that would be cool beans.

Thanks!

Unity doesn’t offer anything close to what you’re asking for for its Particle System.

The closest you can probably find is the new Visual Effect Graph, which does produce HLSL files, however they are produced in a very bespoke format that would be very hard to plug in to a 3rd party tool/file format without major refactoring.