--- title: "Shader Properties" url: "https://help.maxon.net/c4d/en-us/Content/html/XSPOTSHADER-ID_SHADERPROPERTIES.html" section_path: "Sketch and Toon > Sketch and Toon Shader > Spots Shader > Shader Properties" element_id: "XSPOTSHADER" group_id: "ID_SHADERPROPERTIES" description: "The Shape setting lets you choose which pattern is repeated over the surface. You can choose from predefined shapes, such as Circle, Square and Diamond …" --- ## Shader Properties ### Shape Parameter ID: `SPOTSHADER_GAP_SHAPE` ### Texture Parameter ID: `SPOTSHADER_GAP_TEXTURE` The **Shape** setting lets you choose which pattern is repeated over the surface. You can choose from predefined shapes, such as **Circle**, **Square** and **Diamond**, or you can load a custom texture as the shape (set **Shape** to Texture and use the **Texture** triangle button to load the image). ![Image: 003060.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/003060.jpg)\ Two custom textures (left of each arrow) and the result of using them as spot textures (right of each arrow). When using a custom texture, keep the following in mind: The Spots shader makes the spots smaller or larger by adjusting the contrast of the texture. For best results, the custom texture should have a smooth transition from black to white as its outline (left spot above). If the transition is sudden (right spot above), the spots will not shrink or grow gradually. ### Gap Color Parameter ID: `SPOTSHADER_GAP_COLOR` ### Spot Color Parameter ID: `SPOTSHADER_CIRCLE_COLOR` These are the colors for the spots and the areas between the spots. ### Scale Parameter ID: `SPOTSHADER_SCALE` · Range: [0..+∞%] ### U Parameter ID: `SPOTSHADER_SCALE_U` · Range: [0..+∞%] ### V Parameter ID: `SPOTSHADER_SCALE_V` · Range: [0..+∞%] The **Scale** controls the global scale of the spots, **Scale U** and **Scale V** are the scale of the spots in the U and V directions. ### Rotate Parameter ID: `SPOTSHADER_ROTATE` · Range: [0..360°] This rotates the placement of the spots on the UVs. ### Shadow Parameter ID: `SPOTSHADER_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: `SPOTSHADER_DIFFUSE` ![Image: 003061.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/003061.jpg) The Diffuse gradient controls the brightness value of the hatches, from areas of full shadow (left end of gradient) to areas of no shadow (right end of gradient). ### Specular Parameter ID: `SPOTSHADER_SPEC` ![Image: 003062.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/003062.jpg) 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: `SPOTSHADER_ILLUM` 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). ### Camera Parameter ID: `SPOTSHADER_CAMERA` Enable the Camera option to use the camera as a light source. ### Specular Parameter ID: `SPOTSHADER_SPECULAR` 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). ### Shadows Parameter ID: `SPOTSHADER_SHADOWS` 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) ### Invert Parameter ID: `SPOTSHADER_INVERT` ![Image: 003063.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/003063.jpg)\ Invert option disabled (left) and enabled (right). ### Lights Parameter ID: `SPOTSHADER_LIGHTS` ### Illumination Parameter ID: `SPOTSHADER_ILLUMINATION` ### Use Lights Parameter ID: `SPOTSHADER_INCEXC` ### Lights Parameter ID: `SPOTSHADER_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. 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.