Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Official World space trail textures

Discussion in 'Particle System Previews' started by richardkettlewell, May 10, 2021.

Thread Status:
Not open for further replies.
  1. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285
    We are working on a new texturing mode for lines and trails, which "pins" their texture UVs, so that textures on existing parts of the trail do not change when new points are added, or old points are removed.

    New features include:
    * Implemented a new "Static" Texture Mode for TrailRenderer, Particle System Trails, so that the texture mapping does not move when new points are added or old points are removed
    * Implemented the same mode for Line Renderer so that the texture mapping is based on the length of the line in world space
    * All applicable renderers contain a new setting to specify the texture mapping repeat rate, which is available for all texturing modes. The repeat rate can be controlled in both the U and V directions.

    Grab the build from here: https://beta.unity3d.com/download/d5b19e10461c/public_download.html

    And give us your feedback here: https://forum.unity.com/threads/world-space-trail-textures.1107392/
     
    Last edited: Jun 14, 2021
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285
    I've just uploaded a new build, that implements this feature for Particle System Trails too, and addresses the bugs reported in the first version.

    I've updated the links above, but it'll take a few minutes for the build to become visible.
     
  3. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285
    Another new version, this time adding V direction scaling too.
     
    Cactus_on_Fire and Skuxlife like this.
Thread Status:
Not open for further replies.