goochShadingContrib
material
goochShadingContrib
RayTK
v0.36
A material element that uses the Gooch shading model.
It produces colors that are based on the surface normal. It is useful for showing the 3D structure of a shape rather than using realistic lighting-based color.
See Gooch Shading.
This is equivalent to the goochMat
, for use in a modular material.
Parameters
-
Level
: -
Use Light Color
: -
Enable Shadow
: -
Base Color
: -
Warm Color
: -
Cool Color
: -
Enable
:
Inputs
-
Base Color Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
float
vec4
- Coordinate Types:
-
Warm Color Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
float
vec4
- Coordinate Types:
-
Cool Color Field
: (optional)- Coordinate Types:
vec3
- Context Types:
MaterialContext
- Return Types:
float
vec4
- Coordinate Types: