Search Unity

[RELEASED] Imposter System OPTIMIZATION

Discussion in 'Assets and Asset Store' started by MUGIK, Aug 18, 2016.

?

Are you interested in this project?

  1. Yes.

    168 vote(s)
    92.8%
  2. Maybe.

    11 vote(s)
    6.1%
  3. No.

    2 vote(s)
    1.1%
Thread Status:
Not open for further replies.
  1. hoyoyo80

    hoyoyo80

    Joined:
    Jan 31, 2018
    Posts:
    58
    Hi, thanks for the suggestion. Its getting much better on Snapdragon 430. All the trees 400k tris and with imposters in down to 40k run on SD430. On pc it run no problems and also on my Mate 20X with Kirin 980.
     
    MUGIK likes this.
  2. hoyoyo80

    hoyoyo80

    Joined:
    Jan 31, 2018
    Posts:
    58
    Hi, i put my imposter on lod1 but i dont see any lightmap for this? Is this how unity work? or im missing something? Thanks
     
  3. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hi. In unity 2018.3.14 with settings below lightmaps work correctly in imposter mode.
    upload_2019-10-11_11-48-18.png

    May I know your unity version, lightmap settings and imposter setup?

    Are you sure you using the renderer with a lightmap for imposter creation?
     
  4. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    JBR-games and AthrunVLokiz like this.
  5. hoyoyo80

    hoyoyo80

    Joined:
    Jan 31, 2018
    Posts:
    58
    Thanks for the asset:) but i just bought the system does that mean the one i bought will be deprecated?o_O
     
  6. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Not for now.
    New version depends on preview packages such as Jobs and unity 2019.3.
    Current system might become deprecated only next year.
     
  7. gonglin

    gonglin

    Joined:
    Apr 12, 2014
    Posts:
    5
    Does this asset support WebGL platform? thanks!
     
  8. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Yes, it work everywhere.
    The only requirement is the device(where app will run) must support RenderTexures. Nowadays almost every device do that.
     
    JBR-games likes this.
  9. Erathor

    Erathor

    Joined:
    Jan 11, 2014
    Posts:
    18
    Glad this has still Unity 5 support. I may give this a try :)
     
    JBR-games likes this.
  10. Zeven001

    Zeven001

    Joined:
    Sep 11, 2017
    Posts:
    10
    Does this asset support 2 materials on Meshrenderer and still bake correctly?
     
  11. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Yes
     
  12. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hi everyone!
    What a great day!

    Finally, I have made everything I want for the beta version, including handy editors and tools.

    If you are interested in trying out the new Impostors 2019 beta package, then let me know in private message or contact me at doterpoter@gmail.com.

    Manual: https://docs.google.com/document/d/1bDfeWAWtNxyVPek8Q3yeY5bKLGliWE3Qkf6T3WN-asw/edit?usp=sharing

    [WIP] Forum thread for new Impostors 2019 package:
    https://forum.unity.com/threads/wip-impostors-2019-optimization.759110/

     
    Last edited: Nov 12, 2019
    JBR-games likes this.
  13. JBR-games

    JBR-games

    Joined:
    Sep 26, 2012
    Posts:
    708
    is there anyway to completely stop updating certain imposters, including look at.. while still rendering the imposter ? or atleast some areas to look inside the code to do so.
    thank you
     
  14. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hi. There is no built-in functionality for this but you can look at NeedUpdate() method in ImposterController.cs and add this feature.
     
    JBR-games likes this.
  15. millerlyte87

    millerlyte87

    Joined:
    Oct 31, 2014
    Posts:
    6
    Will this work with LWRP and URP? I see in the notes it says it won't work with HDRP, but curious about LWRP.
     
  16. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Not for now. URP has a lot of API and Pipeline changes and the Imposter System needs to adapt to them.
     
  17. milox777

    milox777

    Joined:
    Sep 23, 2012
    Posts:
    195
    When will there be URP/LWRP version? There's not a single imposter system that works with URP ;(
     
    dozhwal, Abended and JoeStrout like this.
  18. JuJuCoder

    JuJuCoder

    Joined:
    Dec 10, 2013
    Posts:
    30
    Can you handle animated objects like Zombies?
     
  19. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    It's quite a difficult question. Last time I tried to use LWRP (not URP, it was like a year ago) it had critical limitations that prevent implementing Imposter System to work with LWRP/URP. But with new stackable cameras it might work.
    Can't promise anything.
     
    dozhwal likes this.
  20. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Imposter System not intended for use with animated objects. It works the best with static not moving objects.
     
  21. Redrag

    Redrag

    Joined:
    Apr 27, 2014
    Posts:
    181
    I'm not sure of the latest on Unity terrain, but if you don't support it I think you are missing out. Even if the terrain imposter is cached and does not have vegetation (or the vegatation is not exactly the same as the normal runtime vegetation). I guess Unity terrain is quite well optimised for distance already but it would be good to get rid of it complety when far away...
     
  22. p_hergott

    p_hergott

    Joined:
    May 7, 2018
    Posts:
    414
    Unity terrain is gpu instanced.....
     
  23. JBR-games

    JBR-games

    Joined:
    Sep 26, 2012
    Posts:
    708
    could always convert the terrain to a mesh and use that as a LOD level.
     
  24. TimBurnstone

    TimBurnstone

    Joined:
    Nov 16, 2012
    Posts:
    9
    Trying to get your impostor system to play nice with my trees, spent all afternoon working on this. Really doesn't want to include the leaves in the billboard. What could I have done wrong?
     

    Attached Files:

  25. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hi!
    This is a known issue. Leaves are using a shader that doesn't write to ZBuffer. Most likely it is a transparent shader. Could you possibly change the material for leaves? If so, then try to set any Cutout shader to the leaves' material. This should help.
    Let me know if it works for you.
     
    JBR-games likes this.
  26. TimBurnstone

    TimBurnstone

    Joined:
    Nov 16, 2012
    Posts:
    9
    Thanks for the response. Ended up just rewriting my foliage shader to use alpha clipping rather than testing. Had to write a custom shadow caster pass as well, but it was worth it to get everything working with your impostor billboards. Which is something I couldn't get to work at all with Amplify's Impostors.

    I couldn't be happier with the purchase. Thank you so much for making LOD modelling a thing of the past.
     
    MUGIK and JBR-games like this.
  27. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Sorry for such a question... But may I know what exactly didn't work with Amplify's Impostors?
     
  28. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hey everyone!
    Happy to announce that the new asset Impostors - Runtime Optimization is out now on the Asset Store!
    It works with Unity 2019.3+ and utilizes Jobs and Burst packages.

    Please note, the new version has fewer features comparing to the old one but provides MUCH more performance boost.
    Current limitation of the new version:
    • Works only with non-moving objects (will be fixed in future releases)
    • Impostors do not cast shadows (don't think anyone really needs this)
    • Impostors do not have self-shadows (same as the previous one)
    New features:
    • all systems are now multithreaded
    • VR support
    • SRP support (HDRP is coming soon)
    • convenient integration with LODGroup component
    • fixed and improved impostors fading
    Discussion about the new version is moving to this thread:
    https://forum.unity.com/threads/released-impostors-runtime-optimization.759110/#post-6849236
     
    StevenPicard and JBR-games like this.
  29. sloveUnity

    sloveUnity

    Joined:
    Oct 8, 2019
    Posts:
    2
    Hello. I like this plugin but I have a problem.it run error I tested unity 2018.2. if you can give a proper version for unity 2018.2 ? Thanks. Do this plugin support the orthographic camera?
     
  30. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hi. Sorry to say, but the new plugin works only with Unity 2019.3+

    You can see information about minimum required unity version on the asset's page on the Asset Store.

    If you have troubles with the old version called "Imposter System", then let me know
     
  31. berukulama

    berukulama

    Joined:
    Jun 27, 2020
    Posts:
    72
    hello, even the sample scene is not working, is there anything extra I need to do?
     
  32. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Without more details about errors, I can't help you
     
    Last edited: Jul 16, 2021
  33. tomobiki

    tomobiki

    Joined:
    Sep 27, 2020
    Posts:
    65
    Hi, I bought Impostors some months ago and now I'm going to use it for the very first time and so I've a very noob question (I searched in the forum but I didn't find an hint about this): I've built a complex building (static) that I'd like to manage with Impostors; this building is made with an empty parent whose children are all the gameobjects that compose the building. Do I have to apply the Impostors script to each child gameobject or can I apply it only to the parent and it'll render all the children at once in one flat mesh? Thanks! (excuse for my "noobity").
     
  34. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Did you bought Imposter System or Impostors - Runtime Optimizatoin? Sorry for the confusion, but this thread relates to Imposter System.

    You could do both ways, but it's better to apply impostor script to the parent. And if you are using the Impostors package, then this parent object should also contain LODGroup component
     
  35. tomobiki

    tomobiki

    Joined:
    Sep 27, 2020
    Posts:
    65
    Thanks. I bought Impostors - runtime optimization. The Asset Store has the link only to this thread; please would you tell me what is the correct thread for Impostors? Thank you for your help: it's absolutely easier to apply Impostora script to the parent!
     
    MUGIK likes this.
  36. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Here is the link to the thread: https://forum.unity.com/threads/released-impostors-runtime-optimization.759110
     
  37. tomobiki

    tomobiki

    Joined:
    Sep 27, 2020
    Posts:
    65
  38. Itschotsch

    Itschotsch

    Joined:
    Jan 30, 2018
    Posts:
    2
    Hi, I tried out the asset and it works okay for normal GameObjects but it doesn't work at all when used with the Unity Terrain system. I bought the asset solely for making tree and vegetation impostors so it's essentially worthless for this job. Since the incompatibility is not even mentioned in the asset description I am hereby asking for a refund.
     
  39. MUGIK

    MUGIK

    Joined:
    Jul 2, 2015
    Posts:
    481
    Hi
    Do you want to use imposters for trees?
    Are you purchased 'Imposter System' or 'Impostors - Runtime Optimization'?
     
  40. Recon03

    Recon03

    Joined:
    Aug 5, 2013
    Posts:
    845
    FYI, all of your videos are not able to be view or gone..
    (on the store)
     
    MUGIK likes this.
Thread Status:
Not open for further replies.