Search Unity

Feature Request ShaderGraph SimpleLit target

Discussion in 'Graphics Dev Blitz Day 2023 - Q&A' started by mehmet_soyturk, May 25, 2023.

  1. mehmet_soyturk

    mehmet_soyturk

    Joined:
    Oct 17, 2022
    Posts:
    17
    We are using a SimpleLit material for all of our objects. We avoided Lit material, because we don't need it and we feared it could be slower.

    Recently there was a need for a variant of the SimpleLit material that had plane clipping support. Plane clipping can be implemented with ShaderGraph (using transparency masks), but unfortunately ShaderGraph does not support a SimpleLit target.

    Fortunately the member Zallist implemented the missing feature as a Unity extension: https://github.com/Zallist/unity.zallist.universal-simple-lit-shadergraph-target . Many thanks to him!

    Unfortunately, he can't maintain that feature indefinitely. But quoting from him, the extension is ready to be merged to Unity. See https://github.com/Zallist/unity.zallist.universal-simple-lit-shadergraph-target/issues/4

    Could you please consider merging this code, or alternatively implement the SimpleLit target?
     
  2. ali_mohebali

    ali_mohebali

    Unity Technologies

    Joined:
    Apr 8, 2020
    Posts:
    119
    Thanks for the feedback and the request. This is on our radar; we intend to address this by providing a SimpleLit sub-target or integrating tier scalability into our Lit shader. We are looking at it as part of Block Shaders and Shader Graph improvements.
     
    DevDunk and mehmet_soyturk like this.
  3. mehmet_soyturk

    mehmet_soyturk

    Joined:
    Oct 17, 2022
    Posts:
    17
    Thanks for the answer.
     
    ali_mohebali likes this.
  4. nostraverse

    nostraverse

    Joined:
    Mar 3, 2021
    Posts:
    12
    Any updates regarding adding a SimpleLit sub-target?