--- title: "Illumination" url: "https://help.maxon.net/c4d/en-us/Content/html/XHATCHINGSHADER-HATCHINGSHADER_GROUP_LIGHTING.html" section_path: "Sketch and Toon > Sketch and Toon Shader > Hatch Shader > Illumination" element_id: "XHATCHINGSHADER" group_id: "HATCHINGSHADER_GROUP_LIGHTING" description: "The Illumination tab controls how the illumination affects the rendering of the strokes." --- ## Illumination The Illumination tab controls how the illumination affects the rendering of the strokes. ![Image: 013130.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/013130.jpg)\ From left to right: Large threshold; small threshold; incl. several shading layers. ### Show Dark Strokes Parameter ID: `HATCHINGSHADER_DARK_STROKES` ### Show Light Strokes Parameter ID: `HATCHINGSHADER_LIGHT_STROKES` Enable these options to switch on dark stokes and light strokes. ### Shade Levels Parameter ID: `HATCHINGSHADER_LEVELS` · Range: [1..20] In general, the higher you set this value, the more strokes you get in dark areas and the less faded the hatching looks. It works by overlaying layers of strokes (the **Shade Levels** value defines the number of layers), where each layer is more and more affected by the illumination. ### Threshold Parameter ID: `HATCHINGSHADER_THRESHOLD` · Range: [0..100%] The Threshold controls how quickly the strokes fade out. See the examples above. ### Shadows Parameter ID: `HATCHINGSHADER_SHADOW` Enable the Shadows option to take shadows into account. The Shadow gradient affects the brightness of shadows, from areas of full shadow (left end of gradient) to areas of no shadow (right end of gradient). ### Diffuse Parameter ID: `HATCHINGSHADER_DIFFUSE` ![Image: 003053.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/003053.jpg) If **Lights** is enabled, the **Diffuse** gradient controls the brightness value of the hatches, from areas in total darkness (left end of gradient) to areas which are fully lit (right end of gradient). ### Specular Parameter ID: `HATCHINGSHADER_SPEC` If you want the lights to generate specular highlights, enable this option. The **Specular** gradient controls the color, width, height and falloff of the highlights, from areas of no specular (left end of gradient) to areas of full specular (right end of gradient). ### Illumination Parameter ID: `HATCHINGSHADER_ILLUM` ### Use Bump Parameter ID: `HATCHINGSHADER_BUMP` To apply a bump map to the shader, enable this option and define the bump mapping on the material's **Bump** tab as you would for a normal material. ### Camera Parameter ID: `HATCHINGSHADER_CAMERA` Enable the **Camera** option to use the camera as a light source. ### Specular Parameter ID: `HATCHINGSHADER_SPECULAR` ![Image: 003054.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/003054.jpg) ### Shadow Parameter ID: `HATCHINGSHADER_SHADOWS` ### Modifies Contrast Parameter ID: `HATCHINGSHADER_CONTRAST` This makes the Hatch shader work in a similar way to the Spots shader. The strokes will have their contrast adjusted to give the impression of larger or smaller strokes depending on the brightness of the illumination. ### Lights Parameter ID: `HATCHINGSHADER_LIGHTS` ### Illumination Parameter ID: `HATCHINGSHADER_ILLUMINATION` ### Use Lights Parameter ID: `HATCHINGSHADER_INCEXC` ### Lights Parameter ID: `HATCHINGSHADER_INCEXC_LIGHTS` To use the lights in the scene as light sources, enable the **Lights** option. To use the illumination of each light (not just its direction), enable the **Illumination** option — the **Illumination** gradient remaps the illumination from no illumination (left end of gradient) to full illumination (right end of gradient). By default, all lights in the scene will be used as light sources when **Lights** is enabled. To include or exclude specific lights, set **Use Lights** to Include or Exclude and Drag & drop the lights into the **Lights** box.