goochShadingContrib

material
goochShadingContrib
RayTK
v0.42

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

Name Description Regular Handling Read-Only Handling
Level Runtime Baked
Use Light Color Baked Baked
Enable Shadow Baked Baked
Base Color Runtime Baked
Warm Color Runtime Baked
Cool Color Runtime Baked

Inputs

  • Base Color Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: float vec4
  • Warm Color Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: float vec4
    • Supports Variables From Inputs: baseColorField
  • Cool Color Field: (optional)
    • Coordinate Types: vec3
    • Context Types: MaterialContext
    • Return Types: float vec4
    • Supports Variables From Inputs: baseColorField warmColorField