Search Unity

  1. Unity 2020.2 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

Polybrush missing shaders?

Discussion in 'World Building' started by MithosKuu, Nov 29, 2019.

  1. MithosKuu

    MithosKuu

    Joined:
    May 12, 2010
    Posts:
    34
    According to the release documentation https://docs.unity3d.com/Packages/com.unity.polybrush@1.0/manual/index.html and the legacy documentation https://unity-technologies.github.io/procore-legacy-docs/polybrush/polybrush-gh-pages/modes/texture/ Polybrush is supposed to include multiple shaders, described as such

    Standard Texture Blend | A PBR enabled material with support for blending up to 12 different textures.
    Standard Texture Blend Bump | A PBR enabled material with support for blending up to 4 different textures with normal maps.
    TriPlanar Texture Blend | A PBR enabled material with support for blending up to 4 textures and automatically projects UV coordinates.
    TriPlanar Texture Blend Legacy | A Blinn-Phong lighting pipeline (legacy) material with support for blending up to 4 textures and automatically projects UV coordinates.
    Unlit Texture Blend | A simple unlit material with support for blending up to 6 textures.

    However, the samples in 1.0 and 1.0.2 preview only include Standard Texture Blend Bump and Standard Vertex Color, I had been banking on using the expanded texture blending offered by Standard Texture Blend and am disappointed that I can't find it anywhere, is it expected to be added back soon?
     
    Klausology, TJ_Kalo and XCO like this.
  2. melos_han_tani

    melos_han_tani

    Joined:
    Jan 11, 2018
    Posts:
    50
    very curious about what happened to this!
     
  3. Klausology

    Klausology

    Joined:
    Aug 29, 2017
    Posts:
    82
  4. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    420
    If I remember correctly these were removed because we were having trouble keeping them up to date with HDRP and URP changes. Now that these projects are in a more stable state it could be interesting to re-introduce them.
     
    Klausology likes this.
  5. danjonesdevmcr

    danjonesdevmcr

    Joined:
    Apr 18, 2020
    Posts:
    1
    Also had an issue with locating these, might be worth updating the docs if they've been removed.
     
  6. nindim

    nindim

    Joined:
    Jan 22, 2013
    Posts:
    88
    Hi,

    @kaarrrllll

    I am new to PolyBrush and this is very confusing, not to mention disappointing.

    It seems like I now need to spend time figuring out the PolyBrush shader system just to evaluate the texture blend feature :/

    I think that you absolutely need to include at least 1 working shader that users can use to evaluate and also then extend for their own needs.

    Obviously it would be great if more shaders were available, but anything that works out of the box would be better than what we have just now.

    As an aside, I did try a shader from the github link above but I guess things have changed between then and v1.0.1 from the packager manager as it does not work:

    1) ForwardBase and ForwardAdd redefinitions to start with
    2) After commenting them out PolyBrush still does not think the shader supports texture blending.

    Has anyone got a shader that works with the current version that can be used as is for evaluating the system? I'm loathed to get too deep with it until I know we want to use it.

    Thanks!
     
  7. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    420
    @nindim I agree that we need to be packing shaders, it's definitely in the list of work for Polybrush improvements.
     
  8. nindim

    nindim

    Joined:
    Jan 22, 2013
    Posts:
    88
    Hi @kaarrrllll,

    Any progress on this?

    Thanks,

    Niall
     
unityunity