Search Unity

SetReplacementShader AND MaterialPropertyBlock

Discussion in 'General Graphics' started by DaveL99, Jun 21, 2019.

  1. DaveL99

    DaveL99

    Joined:
    Jul 5, 2018
    Posts:
    22
    Are MaterialPropertyBlocks supposed to function correctly when used in conjunction with SetReplacementShader?

    They don't seem to work for me - no matter what I try, my colour property is always pure red (which is NOT even the default value in the shader).

    This is using the Built-in rendering pipeline in 2019.1

    Anybody using both successfully?