Search Unity

Question Use material/shader keywords in the new post processing?

Discussion in 'High Definition Render Pipeline' started by faolad, Feb 26, 2020.

  1. faolad

    faolad

    Joined:
    Jan 27, 2013
    Posts:
    118
    How?!
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi @faolad,

    You mean HDRP Custom Post Processing?

    my_Material.DisableKeyword("FOO");
    my_Material.EnableKeyword("BAR");

    P.S. Maybe you could put a bit more effort into formulating your questions? This kind of content degrades the value of this forum as a resource for many of us...
     
  3. faolad

    faolad

    Joined:
    Jan 27, 2013
    Posts:
    118
    There seem to be some missing shader functions in LWRP and no documentation at all. So yeah that's why the question is vague, I'm looking for a guide documentation, every little info might help. I'm sure I'm not the only one having the same issues. As for "degrades the value of this forum as a resource for many of us", I'm sorry I don't have the same perception about what's good enough for a question, hopefully, Unity could implement rules in the future for us the barbarians.