Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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,188
    Command buffers only provide ways to set keywords or properties globally or computer shaders. 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.
     
unityunity