Search Unity

Command Buffer - Set Keyword or Property on Material

Discussion in 'General Graphics' started by jjxtra, May 29, 2020.

  1. jjxtra

    jjxtra

    Joined:
    Aug 30, 2013
    Posts:
    1,464
    Command buffers only provide ways to set keywords or properties globally. Providing overloads that allow the same thing on materials would be very helpful, especially for materials shared by multiple command buffers, and for using multi_compile_local to reduce shader keyword counts. Thank you.
     
    Last edited: Aug 5, 2021
    jetyb, zxubian and kevin-masson like this.