Search Unity

[RELEASED] SmoothTrails trail rendering system

Discussion in 'Assets and Asset Store' started by jhughes2112, Mar 7, 2019.

  1. jhughes2112


    Nov 20, 2014
    Hey game developers!

    I'm super excited to raise awareness for my brand new asset on its way to the Asset Store very soon now!! It's called SmoothTrails, and it does what it says. It's a better version of the built-in Unity TrailRenderer. You might ask, why not just use TrailRenderer or one of the several other trail generators?

    Here's why you might like SmoothTrails:
    1. You have TrailRenderers already, but the trails look bad when objects rotate too fast, or frame rate drops.
    2. You have someone else's trails package but they render slowly.
    3. You want more control over the quality-vs-performance, perhaps dynamically.
    4. You want to customize TrailRenderer, but don't have source code.
    • SmoothTrails comes with full source code.
    • SmoothTrails is a custom reimplementation of the Unity TrailRenderer component, and relies on LineRenderer, so the setup is what you're already comfortable with.
    • You can tell SmoothTrails how many cubic Bezier spline points to add between segment samples, and it does so smoooooothly. (It's a harder problem to solve than you might expect.)
    • SmoothTrails has 3 levels of quality that adjust performance/quality tradeoff.

    Here's a sample of what a TrailRenderer and SmoothTrails object look like side-by-side... I accidentally recorded this one in LOW QUALITY. At high quality, it's perfectly curved. I'll re-record when I get a chance.

    I can't wait to hear your feedback and see how I can help make your games better!

    Best regards,
  2. jhughes2112


    Nov 20, 2014
    Good morning devs!

    I just pushed v1.1 of SmoothTrails today! Primarily this is just a cleanup release, but I added a nice PDF for documentation to explain a little how to test it out, and how to integrate it into your projects. There's some better explanation of what the knobs and dials do, as well as a few details on getting support and about us. In the rush to get SmoothTrails to the finish line several months ago, we didn't really take that as far as we wanted to... so now we did! :)

    If there's any features or improvements you'd like to see with this asset, drop us a line. We're happy to chat about it.