Search Unity

Why are polybrush shaders all black?

Discussion in 'Shaders' started by jenapier, May 26, 2019.

  1. jenapier

    jenapier

    Joined:
    Nov 11, 2017
    Posts:
    4
    I have a very frustrating error with Polybrush - it's essentially unusable.
    1. I create a default plane.
    2. I install polyrbsuh (beta) from the asset store.
    3. I create a shader from the 'Height Blend'
    4. When I assign it it turns my mesh black when I assign and it says "It doesn't look like any of the materials on this object support texture blending!" Why? It's a polybrush shader!
    None of the shaders work, I've tested in multiple projects, on 2018, and 2019 version - what is going on??
     
  2. DirkDooms

    DirkDooms

    Joined:
    Dec 1, 2018
    Posts:
    6
    I have the same issue, have you ever found a solution?
     
  3. TimCoster

    TimCoster

    Joined:
    May 19, 2016
    Posts:
    8
    Might be that you're using 'Metal Editor Support'. In my case i solved it by adding the keyword 'metal' to the '#pragma only_renderers' on lines 42, 223 and 363 of the Polybrush Standard texture blend with bump shader. like this:

    #pragma only_renderers d3d9 d3d11 glcore gles n3ds wiiu metal
     
    EFPs and greattai like this.