Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to render only particle system with the pixel perfect camera component

Discussion in 'General Graphics' started by Marvin-Krist, Oct 12, 2022.

  1. Marvin-Krist

    Marvin-Krist

    Joined:
    Sep 25, 2015
    Posts:
    14
    Hello here's my problem :

    I want to use the pixel perfect camera component to render only my particles but I can't manage to make it work.

    This is my setup :

    MainCamera :
    - Culling Mask = Everything but no FX
    - Target Display = Display 1

    FXCamera :
    - Culling Mask = Only FX
    - Target Display = Display 1
    - Pixel Perfect Camera component

    All my particles and children of particles are layered as "FX"

    With that setup I should have everything rendered in the display 1 and FX in pixel perfect right ?
    But it does not work, FX are not rendering at all, and MainCamera is in pixel perfect.

    Hope you can help me find a solution :)
    Have a nice day !
     
    Tiny_Tree likes this.
  2. Marvin-Krist

    Marvin-Krist

    Joined:
    Sep 25, 2015
    Posts:
    14