Search Unity

HDRP Converting bug

Discussion in 'High Definition Render Pipeline' started by FedeStefan, Feb 25, 2020.

  1. FedeStefan

    FedeStefan

    Joined:
    Aug 15, 2018
    Posts:
    221
    so i had mobile diffuse materials (because i didnt like using legacy or standard) for quite of time. most of them were mobile diffuse materials.

    i recently tried HDRP and i really liked it, i chose the option to convert all my materials to HDRP and then all my materials were converted to HDRP.

    expect the mobile shader materials.
    i tried converting again nothing.
    then i tried selecting convert and nothing.
    i tried converting it via clicking the shader tab and it was white, i have a lot of mobile diffuse materials and i dont wanna waste most of my time converting and putting textures.

    here are pictures:
    the white arrows show the standard materials converted.
     

    Attached Files:

  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    704
    The HDRP material converter voluntary ignores other shader than "Standard".
    HDRP beeing a PBR rendered, "Standard" shader is what is the closest to it, while "mobile/diffuse" is not PBR compliant (ex: most of the time AO is baked in the diffuse texture, and also spec in some cases).
     
  3. FedeStefan

    FedeStefan

    Joined:
    Aug 15, 2018
    Posts:
    221
    So it means i need to go to shader, change to HDRP/Lit and put texture needed and then i repeat the same thing for all mobile materials
     
  4. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    704
    You can also "hack" it through :
    • Select all your mobile/diffuse materials
    • Change their shader type to "Standard"
    • Run the converter
     
    darkAbacus247 likes this.
  5. FedeStefan

    FedeStefan

    Joined:
    Aug 15, 2018
    Posts:
    221
    Thank you!!!