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.

Question Rendering entities affected by 2D-light.

Discussion in 'Graphics for ECS' started by nanaktaev, Feb 19, 2023.

  1. nanaktaev

    nanaktaev

    Joined:
    May 21, 2022
    Posts:
    10
    Hello!
    I am using Unity 2022.2.4, EntitiesGraphics 1.0-pre.15, URP 14.0.5

    What I want to achieve:
    To render an entity (quad mesh) with EntitiesGraphics and it has to be affected by Light 2D GameObject.

    I wonder if it is even possible? It looks like URP / 2D / Sprite-Lit-Default shader is not compatible with URP (and may be also DOTS INSTANCING).

    What should I do to make it? Please help me :)
     
  2. nanaktaev

    nanaktaev

    Joined:
    May 21, 2022
    Posts:
    10
    I forgot to mention that I am not using conversion workflow. All entities are created from code.