You are browsing as a guest. Sign up (or log in) to start making projects!

2h 53m 11s logged

More Particle work…

been spending some time on the particle system…

changes

particles

expanded the particle system quite a bit.

currently supports:

  • randomized size ranges
  • randomized rotation
  • configurable emitter shapes (support quad, circle, and soft circle)
  • alpha and additive blending
  • configurable render order (still kinda broken but im working on it)
  • per-particle color over lifetime
  • particle presets that can be saved and loaded (as JSON)

also added an editor preview mode, so particles can be previewed while editing instead of only showing up in play mode

renderer

had to do a bit of renderer work to support all of this

  • particles now use their own dedicated shader
  • added support for per-instance colors during instanced rendering
  • added an overlay render pass for effects that should render on top of the scene

cleanup

also did a some more project cleanup, splitting up my Utils header into multiple files.. nothing special though

misc

  • particle emitters can now be saved as reusable presets (some which will be shipped as defaults ofc) as suggested by @sol4r_on_hackclub
  • cleaned up a few asset importing edge cases
  • fixed a couple of packaging issues too

I’m pretty happy with how the particle system is coming along :D

0
30

Comments 0

No comments yet. Be the first!