Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question No Shadows on Shader Graph Shaders in URP 2021.1

Discussion in 'Shader Graph' started by danp, Mar 18, 2021.

  1. danp

    danp

    Joined:
    Jun 20, 2013
    Posts:
    21
    Shaders that I create with the shader graph have no shadows. I created a cube and put it in the scene and made sure it was casting shadows. Created a default lit shadergrah and material. Placed it on the cube and the shadow dissapeared. The shader is set to cast shadows. The mesh renderer is set to cast shadows.

    Is this a bug in 2021?