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

Lighting only the play area in a 3D Platformer

Discussion in 'General Graphics' started by Mantra-Games, May 31, 2021.

  1. Mantra-Games

    Mantra-Games

    Joined:
    Nov 27, 2012
    Posts:
    167
    Hello,

    I'm trying to find a tutorial on how to create a particular lighting method in a pseudo 3D platformer similar to titles like Little Nightmares or Inside where the foreground and background is dark and only the platform play area is light. Can this only be done with Area baked lights? Or perhaps excluding those particular assets from receiving light?

    I know that HDRP supports box spotlight shapes but my project is URP.

    I'm currently testing out a rectangle plane with an emissive map baked and seems to be decent and not affecting FPS too much. Just wish there was a realtime solution for URP for this.

    Cheers.

    Screen Shot 2021-05-31 at 9.01.25 AM.jpg Screen Shot 2021-05-31 at 9.02.11 AM.jpg
     
    Last edited: May 31, 2021