pbrMat
beta
material
pbrMat
RayTK
v0.40
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:
lightcolor
lightpos
surfacecolor
surfaceuv
shadedlevel
normal
- Supports Variables From Inputs:
metallicField
roughnessField
baseColorField
- Coordinate Types:
-
Reflectance Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
vec4
- Supports Variables:
lightcolor
lightpos
surfacecolor
surfaceuv
shadedlevel
normal
- Supports Variables From Inputs:
metallicField
roughnessField
baseColorField
irradianceField
- Coordinate Types:
-
Base Color Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
float
vec4
- Supports Variables:
lightcolor
lightpos
surfacecolor
surfaceuv
shadedlevel
normal
- Supports Variables From Inputs:
metallicField
roughnessField
- Coordinate Types:
-
Roughness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
float
- Supports Variables:
lightcolor
lightpos
surfacecolor
surfaceuv
shadedlevel
normal
- Coordinate Types:
-
Metallic Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
float
- Supports Variables:
lightcolor
lightpos
surfacecolor
surfaceuv
shadedlevel
normal
- Supports Variables From Inputs:
roughnessField
- Coordinate Types:
Variables
-
lightcolor
: -
lightpos
: -
surfacecolor
: -
surfaceuv
: -
shadedlevel
: -
normal
: