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 v10 shader graph how do i

Discussion in 'Shader Graph' started by laurentlavigne, Sep 19, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,225
    in URP how do I:
    1. set a default texture property?
    2. set the name of texture to match "Base Map"? so that when i swap shader between URP/lit and custom it retains all settings. currently when I set the name of the property to Base Map it doesn't reconnect the texture from lit
    3. expose 2D sampler param in the inspector such as offset & tiling ?
    4. get light direction for NdotL?
    5. insert a node?