modifyNormals
Keywords:
 - bumpmap
 - material
 - modularmat
 - normals
 - shading
 - surface
 - texture
 
 filter 
  modifyNormals 
 RayTK
 v0.42
 Use a field to modify the normals (bump mapping) used by shading elements in a modular material.
This must be used within the modular material network, rather than on an SDF that uses such a material. In other words, insert it between an operator like diffuseContrib and the modularMat.
This can be combined with a noiseField or textureField to apply bump mapping to a surface.
Parameters
| Name | Description | Regular Handling | Read-Only Handling | 
|---|---|---|---|
Enable |  |||
Mode |  How the modifier values are applied to the normals.  |  Runtime | Semi-Baked | 
 
  | |||
Mix |  Mix between the original normals and the modified normals.  |  Runtime | Baked | 
Inputs
-  
Shading Element: (required) Shading element that will use the modified normals. This should be something like `diffuseContrib` or `specularContrib`.-  Coordinate Types: 
floatvec2vec3vec4 -  Context Types: 
MaterialContextLightContext -  Return Types: 
floatvec4SdfVolumeRayLightParticle -  Supports Variables From Inputs: 
modifierField 
 -  Coordinate Types: 
 -  
Modifier Field: (optional) Field used to modify the normals.-  Coordinate Types: 
floatvec2vec3vec4 -  Context Types: 
MaterialContextLightContext -  Return Types: 
floatvec4 
 -  Coordinate Types: