Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug grass is from one side green and from another pink. How to fix?

Discussion in 'Shaders' started by nereknuenkihraje, May 25, 2023.

  1. nereknuenkihraje

    nereknuenkihraje

    Joined:
    Oct 29, 2022
    Posts:
    2
    Im learning in Unity HDRP right now and i want to make some good looking terrain and add some grass but when i add the grass prefab one side of the grass is pink and the other one is green! I tought upgrading materials to HDRP will fix it but it just makes the grass white. Thanks for any help or advice :)
    video of how it looks:
     
  2. BOXOPHOBIC

    BOXOPHOBIC

    Joined:
    Jul 17, 2015
    Posts:
    481
    Hi, it is not a bug, your material is just missing a diffusion profile. If you select the material, you will see a Diffusion Profile field, probably somewhere under Translucency or Subsurface Scattering. Hope it helps!
     
    nereknuenkihraje likes this.
  3. nereknuenkihraje

    nereknuenkihraje

    Joined:
    Oct 29, 2022
    Posts:
    2
    THANK YOU SO MUCH i can finally continue on my work in unity!
     
    BOXOPHOBIC likes this.