Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Vissual Effects is missed in game mode and scene mode or when i rotate with my camera

Discussion in 'Visual Effect Graph' started by Lorilleux, Feb 11, 2021.

  1. Lorilleux

    Lorilleux

    Joined:
    Dec 22, 2020
    Posts:
    4
    Hi,
    I have a problem. When i rotate my camera or turn on game mode, mine VFX dissapears.. Can you tell me what am I doing wrong? Why VFX is displaying only in certain angle and in others it dissapears? Does someone knows how to fix this? I use HDPR 6.9.0 and Visual Effects Graph 6.9.2. Thank you for help!!
    Please watch this video:
     
  2. VladVNeykov

    VladVNeykov

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    549
    Hi @Lorilleux ,

    The VFX gets culled if its bounds are outside of the camera frustum.
    You can increase the bounds Size in Initialize:


    You can also make the bounds follow the main camera or a particular game object by assigning their position value to the bounds:


    You can also visualize the bounds in the scene view:


    Hope this helps!
     

    Attached Files:

  3. Lorilleux

    Lorilleux

    Joined:
    Dec 22, 2020
    Posts:
    4
    VladVNeykov likes this.