Search Unity

Question Is there any equivalent to surface shader in HDRP?

Discussion in 'Shaders' started by HamakazeKai, Nov 27, 2022.

  1. HamakazeKai

    HamakazeKai

    Joined:
    Oct 21, 2020
    Posts:
    1
    Hi here,

    I'm new to unity and I'm trying to write some shaders for a toy HDRP project. Now I can write custom shaders without any lighting with a vertex & fragment shader, but obviously this shader doesn't have lighting. What I need is something like a surface shader, where I can specify properties for a PBR model.

    I tried Shader Graph, which is not very friendly & efficient to me. That editor is not very easy to use.

    Thanks! (人''▽`)ありがとう☆
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,408