pbrMat

pbrMat

beta

Parameters

  • Enable:
  • Base Color:
  • Use Surface Color:
  • Roughness:
  • Albedo:
  • Metallic:
  • Enable Shadow:
  • Use Local Position:
  • Apply When:
    • Always:
    • Only If Unassigned:

Inputs

  • SDF: (required)
    • Coordinate Types: vec3
    • Context Types: Context
    • Return Types: Sdf
  • Irradiance Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: vec4
  • Reflectance Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: vec4
  • Base Color Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: float vec4
  • Roughness Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: float
  • Metallic Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: float

Variables

  • lightcolor:
  • lightpos:
  • surfacecolor:
  • surfaceuv:
  • shadedlevel:
  • normal: