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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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:
    14
    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?
     
    cmdexecutor likes this.
  2. ali_mohebali

    ali_mohebali

    Unity Technologies

    Joined:
    Apr 8, 2020
    Posts:
    118
    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:
    14
    Thanks for the answer.
     
    ali_mohebali likes this.