not showing Camera Shot Blend in/out effect

Slate Forums Support not showing Camera Shot Blend in/out effect

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1275
    jedinizar
    Participant

    Hi,
    I have the problem that the Blend in/out effect are not working anymore.
    they are set but have no effect. i use unity 5.6 and the latest version of SLATE.
    I need to add that I have disabled the Director GUI Script as it causes to many DrawCalls and my target platform is Mobile (GearVR).

    Update:
    Please ignore I managed to make it work again by modifying and enabling again the script now 0 DrawCalls has been added but the effects are working as they should

    #1276
    jedinizar
    Participant

    Hi again sorry for all the confusion.
    Like I said I have managed to make the blend effect work again, I modified the Director Gui Script a little bit to minimize the extra draw calls caused by OnGui. I managed to reduce it on just 1 but the problem is that the garbage collector is still high and the GUI.Repaint is causing lag in my game and a reduction in FPS.

    any help with it?

    #1279
    Gavalakis
    Keymaster

    Hey,

    No problem 🙂
    Unfortunately, the OnGUI methods only by itself is causing allocations even if there is nothing going on in that method. That means that just an empty OnGUI() method in Unity, is causing allocations.
    The only real alternative around this, is to not use OnGUI at all, but rather re-implement the functionality of the DirectorGUI, with the new UGUI system, or using the GL API. This is something I plan to do in the future, but I can take a look at this sooner if it impose a problem for you.

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #1281
    jedinizar
    Participant

    Thanks.. no its not that urgent and my game is working fine.. but i’m looking for the update in the future

    #1283
    Gavalakis
    Keymaster

    Thank you for the follow up. An update will come 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.