diffuseContrib
Shortcuts:
- dc
Keywords:
- diffuse
- lambert
- lighting
- material
- modularmat
- oren-nayar
- shading
A material element that provides diffuse light contribution.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Color | Runtime | Baked | |
Level | Runtime | Baked | |
Method | The type of diffuse shading to use. Different methods support different combinations of the other parameters. | Runtime | Baked |
| |||
Roughness | |||
Albedo | |||
Use Color | Whether to produce color or just a brightness value. | ||
Use Light Color | Whether to apply the light color to the color produced by this element. | Semi-Baked | Semi-Baked |
Enable Shadow | Whether to apply the shadow to the color/level produced by this element. | Baked | Baked |
Enable | |||
Use Surface Color | Semi-Baked | Semi-Baked | |
Inputs
-
Roughness: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
MaterialContext - Return Types:
float
- Coordinate Types:
-
Albedo: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
MaterialContext - Return Types:
float - Supports Variables From Inputs:
roughnessField
- Coordinate Types:
-
Color: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
MaterialContext - Return Types:
floatvec4 - Supports Variables From Inputs:
roughnessFieldalbedoField
- Coordinate Types:
Images