Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Pro Builder vertex color not working with HDRP

Discussion in 'High Definition Render Pipeline' started by ZioBasi, Feb 25, 2021.

  1. ZioBasi

    ZioBasi

    Joined:
    May 8, 2018
    Posts:
    33
    Hi. As in the title, I'm not able to use vertex color option with Pro Builder to paint the surface of my object.
    I've also tried to use Poly Brush paint tool and same happened. I think is something about the shader, but why I'm not able to use this tool and what am I suppose to do it to fix this issue? Thanks
     
  2. ZioBasi

    ZioBasi

    Joined:
    May 8, 2018
    Posts:
    33
    Ok, I think I've found a solution on how everything works. Post it here so everybody can see and just to be sure it isn't useless.

    I've created new material with HDRP/LayeredLit + 3x different materials to mix and assign them to the Layer List. Polyburhs is working now and I can make cool effect on these vertex by changing channel of those layers.
     
    Lex4art likes this.
  3. Predulus

    Predulus

    Joined:
    Feb 5, 2018
    Posts:
    90
    Hi. Do you wanna post your material/shader? Cheers
     
  4. Image3d

    Image3d

    Joined:
    Jun 20, 2008
    Posts:
    155
    I would like a copy of the shader too if possible...thanks
     
  5. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    497
    He used HDRP's lit and layered lit materials, what shaders do you want lol
     
  6. Ian_1337

    Ian_1337

    Joined:
    May 13, 2021
    Posts:
    49
    I just spent a whole day trying to upgrade a project (as a test) to HDRP or URP, I had nothing but issues with probuilder skins (managed to fix by reinstalling probuilder and manually setting some of the materials shaders to match HDRP Lit etc).

    However I think I'm going to give up on HDRP for now because it doesn't support Grass on terrain (I've only just learned this feature lol and I like it), nearly every asset I import is pink (yes I upgraded the materials and otherwise tried to do them manually) some of the textures won't convert to work properly without a special shader graph apparently, I have no idea how to use the shader graphs yet (as I'm a newbie) I got some pink trees working but they reflect light really weirdly because of the missing shaders I guess.

    After spending hours and having no luck, I tried making a new project and then importing my project into it and then copying parts of it into the default scene to keep the lighting settings etc. It half fixed the issues I had with terrain. I think I may work on a separate HDRP project as a test (from assets that work) in future but for now the pipelines aren't friendly to newbies.

    You would think backwards or legacy shader support should be included right? Seems It's a real pain.
     
  7. Lex4art

    Lex4art

    Joined:
    Nov 17, 2012
    Posts:
    445
    Kinda expected.... schedule a week or two to just learn new ways, gradually, without very stressful & painful "I will run it in a day". While it's still called "Unity HDRP" it's a new engine with somewhat similar interface to "old Unity".
     
  8. Ian_1337

    Ian_1337

    Joined:
    May 13, 2021
    Posts:
    49
    In my brain, Unity could put some kind of Legacy shader into the HDRP bit and problem would be solved for everyone? but I'm probably wrong lol.