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.

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:
    8,265