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.
  2. Dismiss Notice

Available 2D Lighting solutions?

Discussion in 'Entity Component System' started by Zylkowski_a, Jan 6, 2021.

  1. Zylkowski_a

    Zylkowski_a

    Joined:
    Jul 27, 2019
    Posts:
    157
    I've been out of DOTS for couple of months and It's impossible for me to check all the changelogs and extract information I want. I am wondering if there are any 2D lighting solutions for ECS. I mean ones with dynamic shadows and point lights. Wondering if I could recreate for example Graveyard Keeper lighting or not yet?
     
  2. Zylkowski_a

    Zylkowski_a

    Joined:
    Jul 27, 2019
    Posts:
    157
    Anyone?
     
  3. Sarkahn

    Sarkahn

    Joined:
    Jan 9, 2013
    Posts:
    440
    There's almost nothing in 2D yet for normal dots. Tiny has some stuff, but not lighting afaik.
     
  4. Kmsxkuse

    Kmsxkuse

    Joined:
    Feb 15, 2019
    Posts:
    297
    If you want to use 2D lighting, you'll have to abandon Hybrid Renderer and go full in on gameobjects and URP.

    That doesnt mean you need to abandon Entities, the arguably main part of DOTS.

    I'm working on some proof of concepts with UI and some simulations that use purely Entities and the rest are gameobjects that I connect to DOTS manually.

    It's not as efficient but my use of Entities / DOTS is for data simulation. Not actually anything visual so it works.

    I just change things on the main thread while mindful of how many times it's being changed.

    RequireSingletonForUpdate is used a lot with singletons being created and destroyed like a very basic event system.