pbrMat
beta
material
pbrMat
RayTK
v0.42
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Base Color | Runtime | Baked | |
Use Surface Color | Baked | Baked | |
Roughness | Runtime | Baked | |
Albedo | Runtime | Baked | |
Metallic | Runtime | Baked | |
Enable Shadow | Baked | Baked | |
Use Local Position | Baked | Baked | |
Apply When | Runtime | Baked | |
| |||
Inputs
-
SDF: (required)- Coordinate Types:
vec3 - Context Types:
Context - Return Types:
Sdf
- Coordinate Types:
-
Irradiance Field: (optional)- Coordinate Types:
vec3 - Context Types:
MaterialContext - Return Types:
vec4 - Supports Variables:
lightcolorlightpossurfacecolorsurfaceuvshadedlevelnormal - Supports Variables From Inputs:
metallicFieldroughnessFieldbaseColorField
- Coordinate Types:
-
Reflectance Field: (optional)- Coordinate Types:
vec3 - Context Types:
MaterialContext - Return Types:
vec4 - Supports Variables:
lightcolorlightpossurfacecolorsurfaceuvshadedlevelnormal - Supports Variables From Inputs:
metallicFieldroughnessFieldbaseColorFieldirradianceField
- Coordinate Types:
-
Base Color Field: (optional)- Coordinate Types:
vec3 - Context Types:
MaterialContext - Return Types:
floatvec4 - Supports Variables:
lightcolorlightpossurfacecolorsurfaceuvshadedlevelnormal - Supports Variables From Inputs:
metallicFieldroughnessField
- Coordinate Types:
-
Roughness Field: (optional)- Coordinate Types:
vec3 - Context Types:
MaterialContext - Return Types:
float - Supports Variables:
lightcolorlightpossurfacecolorsurfaceuvshadedlevelnormal
- Coordinate Types:
-
Metallic Field: (optional)- Coordinate Types:
vec3 - Context Types:
MaterialContext - Return Types:
float - Supports Variables:
lightcolorlightpossurfacecolorsurfaceuvshadedlevelnormal - Supports Variables From Inputs:
roughnessField
- Coordinate Types:
Variables
-
Light Color: -
Light Position: -
Surface Color (r, g, b, is set): -
Surface UV (u, v, w, is set): -
Shaded Level (0: full shadow, 1: none): -
Surface Normal: