Search Unity

Question URP 2D Renderer and 3D Lights - is it possible?

Discussion in '2D' started by paulg5682, May 11, 2023.

  1. paulg5682

    paulg5682

    Joined:
    Feb 14, 2016
    Posts:
    11
    I am primarily using 2D assets in my game. They are properly affected by 2D lighting.

    Tge main character however is in 3D since we want it to be high fidelity. I cannot seem to get lights to affect the 3D Object. The material is a Lit material. I have 3D lights in my scene. I feel like my issue is a URP setting of some sort.

    Or maybe it isn't possible at all. Can anyone clarify if this is possible?
     
  2. Lo-renzo

    Lo-renzo

    Joined:
    Apr 8, 2018
    Posts:
    1,514
  3. paulg5682

    paulg5682

    Joined:
    Feb 14, 2016
    Posts:
    11
    Thanks I have seen this thread already. I have tried camera stacking but it says you cannot stack a 3d renderer (universal renderer) camera on top of a 2d renderer camera. I forget the exact error message, I upgraded to a newer version of unity.

    Now it just won't let you even make that error and doesn't give you the option to stack different renderers.
     
    Last edited: May 12, 2023
  4. kayroice

    kayroice

    Joined:
    Feb 7, 2017
    Posts:
    49