@s0uL
Have you made any progress with the particles?
I’m currently going through the process of trying to figure this out myself and managed to follow this thread to get the sample up and running… except with the Particles not showing up on screen… so pretty much the same problem you are having.
Maybe we could work on this together?
@nkast
I grabbed the Macros.fxh and copied your Effect + Vertex Definition class, and while the MonoGame Content Builder is now able to convert it into an xnb, the particles wont show up on screen.
I’ve attempted to draw the textures and they show up, so I don’t believe the answer to be textures.
…It could also be possible that the reason Its not rendering is because I’m still on a MonoGame debug build from Janurary. Are you on a newer one?
From steps, what I have done was
- Created a new MonoGame Desktop (DirectX) Program
- Copied over all the assets from the sample project
- Recompiled all the assets using the Mono Game Content Builter
- Added the “Macros.fxh” and replaced the “ParticleEffect.fx” with the one you posted earlier, then recompiled it using the MonoGame Content Builder
- Added all the Assets to the project, Set to Content and Copy when Newer
- Replaced the “ParticleVertex” Class with the one you posted earlier
- Modified the Base Abstract Class for “ParticleSystem” to replace the reference to “SizeInBytes” with 36 (which was what the variable was set to in the old “ParticleVertex” class.