--- title: "Opacity" url: "https://help.maxon.net/c4d/en-us/Content/html/MTOONUP-OUTLINEMAT_GROUP_OPACITY.html" section_path: "Sketch and Toon > Sketch Material > Material Editor settings" element_id: "MTOONUP" group_id: "OUTLINEMAT_GROUP_OPACITY" description: "These three tabs give you complete control over the color, thickness and opacity of lines. They enable you to create any type of line effect, from simple …" --- ## Opacity These three tabs give you complete control over the color, thickness and opacity of lines. They enable you to create any type of line effect, from simple lines that fade out to complex brush effects. Each tab works in a similar way: - Set the general color, thickness and opacity using the Color, Thickness and Opacity settings at the top of the tabs. - Modify the color, thickness and opacity using the modifier options. To switch on a modifier, enable its option. You will see its settings appear in the bottom part of the tab, where you can adjust them. ### Opacity Parameter ID: `OUTLINEMAT_OPACITY` · Range: [0..10000%] Use this setting to define the overall opacity. ### Link to Thickness Parameter ID: `OUTLINEMAT_OPACITY_LINKTHICKNESS` The Opacity tab has a **Link To Thickness** option which enables you to use the same modifier settings for thickness and opacity. Instead of setting the modifiers on both tabs, set them on the Thickness tab only and enable the Link To Thickness option on the Opacity tab. With a few exceptions, each tab has the same modifier options. For example, the **Along Stroke** modifier is present on all three tabs. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Modifiers ### Distance Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE` ### Position Parameter ID: `OUTLINEMAT_OPACITY_POSITION` ### Scale Parameter ID: `OUTLINEMAT_OPACITY_SCALE` ### Illumination Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION` ### Texture Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE` ### Vertex Map Parameter ID: `OUTLINEMAT_OPACITY_VERTEX` ### Texture Map Parameter ID: `OUTLINEMAT_OPACITY_MAP` ### Screen Texture Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE` ### Along Stroke Parameter ID: `OUTLINEMAT_OPACITY_LENGTH` ### Total Length Parameter ID: `OUTLINEMAT_OPACITY_SLENGTH` ### Facing Angle Parameter ID: `OUTLINEMAT_OPACITY_FACEANGLE` ### Join Angle Parameter ID: `OUTLINEMAT_OPACITY_JOINANGLE` ### Screen Angle Parameter ID: `OUTLINEMAT_OPACITY_SCREENANGLE` ### From Line Parameter ID: `OUTLINEMAT_OPACITY_FROMEDGE` ### Python Parameter ID: `OUTLINEMAT_OPACITY_COFFEE` ### Noise Parameter ID: `OUTLINEMAT_OPACITY_NOISE` Activate the desired modifier here: ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Python > **Tip:** In order to use this very powerful modifier, you should have a good command of Python, which is the script language implemented by Cinema 4D. For details about the Python programming language, visit http://developers.maxon.net. ### Strength Parameter ID: `OUTLINEMAT_OPACITY_COFFEE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Script Parameter ID: `OUTLINEMAT_OPACITY_COFFEE_CODE` Enter your Python script into the Script field. ### Editor... Parameter ID: `OUTLINEMAT_OPACITY_COFFEE_CODEEDIT` Enter a script into the Script box or click the **Expresson Editor** button and enter the script into Cinema 4D's script editor. ### Command Parameter ID: `OUTLINEMAT_OPACITY_COFFEE_COMMANDS` This acts as a quick reference to look up the names of the commands. It has no other purpose. It does not insert commands. sPosition [Real] Position along a line in pixels (screen space). sNormalisedP [Real] Normalized position along a line (0 to 1). ToLine [Real] Distance to the line from the current render point (which is within the line's thickness). Values range from - Thickness to 0 to Thickness. Thickness [Real] The line's thickness as set on the [Thickness] tab. StrokeLength [Real] The total length of the stroke being rendered. ScnPnt [Vector] The render point in screen space (with Z). LineOff [Real] The offset (0 to 1) along the line segment being rendered. wPnt [Vector] The world coordinates for the point being rendered. Time [Real] Current document time in seconds. Frame [Real] Current frame. FPS [Long] Frames per second. LineStart [Vector] The screen space coordinates for the start of the line (LineOff = 0 at the LineStart, 1 at LineEnd). LineEnd [Vector] Screen space for line segment's end point. JoinAngleA [Real] Join angle to the line segment at LineStart (if available, or 0.0). JoinAngleB [Real] Join angle (0 to 2\*pi) to the line segment at LineEnd. LineNormal [Vector] The line normal in screen space (2D, Z=0). EdgeNormal [Vector] The normal from the edge that created the original line segment. LinePosA [Real] The line segment's position along the stroke in pixels (A means LineStart, B LineEnd). LinePosB [Real] The position along the stroke in screen space for the line segment being rendered. PntA [Long] The index number of the object point or spline point that created the start of the line segment (or -1 if not available). PntB [Long] The point index that created the LineEnd (or -1). PolyA [Long] The polygon index that created the line segment (or -1 if not available, like a spline). PolyB [Long] The polygon index that shared the edge (or -1 if not available). RayBits [Long] This passes in the raybits from the Cinema 4D render. See the Cinema 4D SDK. CosC [Real] The angle between the ray and normal on the surface. Normal [Vector] The normal from the surface (if PolyHit is not 0, which says it hit an object). BumpNormal [Vector] Bumped surface normal. Dist [Real] Distance to the point hit on the surface (if one was hit). PolyHit [Long] Really only useful to know if an object was hit by a ray, which means the value is not 0. RayPos [Vector] World position for the ray's starting point. RayDirn [Vector] Direction of the ray (the ray is from Cinema 4D). SurfPnt [Vector] The world coordinates for the point hit (if one was hit). RendLeft [Real] The render image left pixel. RendTop [Real] Render top pixel (left, top usually 0, but not always, e.g render region). RendRight [Real] Right pixel (width = right-left+1).. RendBottom [Real] Bottom pixel (height = bottom - top +1). ObjLeft [Real] Object's left screen bounds pixel. This is for the object that the line came from. This is not necessarily the object hit by the Cinema 4D ray. ObjTop [Real] Object's top screen bounds pixel. ObjRight [Real] Object's right screen bounds pixel. ObjBottom [Real] Object's bottom screen bounds pixel. Color [Vector] The color set in the [Color] tab (Color parameter only). ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Distance ![Image: 002916.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002916.jpg)\ Original, Color, Thickness, Opacity, All three The **Distance** modifier modifies the color, thickness or opacity based on distance from the camera. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Range Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_RANGE` The **Range** setting defines the range over which the color, thickness or opacity is modified. Object This range is from the part of the object nearest the camera to the part furthest away. Camera This uses the camera's **Front Blur End** and **Rear Blur End** values (**Depth** tab) when you enable them. If the options are disabled then Sketch and Toon will use the **Target Distance** in place of **Rear Blur End** and the **Camera** in place of **Front Blur End**. Custom When you select the Custom range, you will see the **Min** and **Max** boxes appear. These define the start and end of the range as distances from the camera. ### Mode Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_MODE` > **Tip:** TIPNot all modifiers offer different modes from which to select. A Distance modifier set to Linear mode in the Thickness tab. The graph controls the thickness of the line in relation to its distance from the camera. Use this mode to define how thickness or opacity should influence a particular area. The Linear mode mixes line thickness or opacity evenly over a given area. The Invert option will reverse the direction of the mixing. If, on the other hand, you set Mode to Spline, a spline graph will appear in which you can draw a gradient that will influence thickness and opacity. The X axis represents the area from start to end of a given line, the Y axis represents its thickness or opacity. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_MODE_INVERT` See alsoMode. ### Min Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_MIN` · Range: [0..+∞m] See Mode. ### Max Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_MAX` · Range: [0..+∞m] See Mode. ### Spline Parameter ID: `OUTLINEMAT_OPACITY_DISTANCE_SPLINE` See Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Position ![Image: 002924.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002924.jpg)\ Original, Color, Thickness, Opacity, All three The **Position** modifier modifies the color, thickness or opacity based on the object's position along the camera's X, Y or Z axis. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_POSITION_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Axis Parameter ID: `OUTLINEMAT_OPACITY_POSITION_TYPE` Defines which camera axis should be used. ### Mode Parameter ID: `OUTLINEMAT_OPACITY_POSITION_MODE` See Distance / Mode. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_POSITION_MODE_INVERT` See Distance / Mode. ### Min Parameter ID: `OUTLINEMAT_OPACITY_POSITION_MIN` · Range: [0..+∞m] The Min and Max values define the range over which the parameter will be modified. If, for example, the Z axis was selected and Min and Max were set to 500 and 1000 respectively, the range will span from 500 to 1000 units along the camera's Z axis. ### Max Parameter ID: `OUTLINEMAT_OPACITY_POSITION_MAX` · Range: [0..+∞m] ### Spline Parameter ID: `OUTLINEMAT_OPACITY_POSITION_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Scale The Scale modifier modifies the color, thickness or opacity based on the object's scale along an axis. ![Image: 002932.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002932.jpg)\ Original, Color, Thickness, Opacity, All three This modifier is based on the scale — not the size — of the objects! # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_SCALE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Axis Parameter ID: `OUTLINEMAT_OPACITY_SCALE_TYPE` The **Axis** setting determines which axis will be used: X, Y or Z. The **Coordinates** setting lets you choose whether this axis is an object axis (**Local**) or world axis (World). For example, if you set **Axis** to **Y** and Coordinates to **Local**, the lines will be modified based on the scale of the object's Y axis. ### Coordinates Parameter ID: `OUTLINEMAT_OPACITY_SCALE_COORDS` See ”Axis". ### Range Parameter ID: `OUTLINEMAT_OPACITY_SCALE_RANGE` (only in thickness and opacity tabs) > **Tip:** NoteA color tab always used an individual range. Define the range using the **min.** and **max.** values. This is the scale of the range over which a parameter is modified. If **range** is set to **scale** the scale range will stretch from 0 to 1. In order to define an individual range, select the **manual** setting and set enter a value for **min.** and **max.** ranges. ### Mode Parameter ID: `OUTLINEMAT_OPACITY_SCALE_MODE` See Distance / Mode. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_SCALE_MODE_INVERT` Enable this option to invert the effect. ### Min Parameter ID: `OUTLINEMAT_OPACITY_SCALE_MIN` · Range: [0.00..+∞] See Range. ### Max Parameter ID: `OUTLINEMAT_OPACITY_SCALE_MAX` · Range: [0.00..+∞] See Range. ### Spline Parameter ID: `OUTLINEMAT_OPACITY_SCALE_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Along Stroke ![Image: 002920.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002920.jpg)\ Original, Color, Thickness, Opacity, All three The **Along Stroke** modifier modifies the color, thickness or opacity based on position along the stroke. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Range Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_RANGE` The **Range** setting defines the range over which the color, thickness or opacity is modified. Custom When you select the Custom range, you will see the **Min** and **Max** boxes appear. These define the start and end of the range as distances from the camera. Line This setting rages from start to end of a given stroke. If **stroke** is deactivated, this range will apply to the length of a stroke segment) ### Mode Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_MODE` See Distance / Mode. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_MODE_INVERT` See Distance / Mode. ### Min Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_MIN` · Range: [0.00..+∞] See ”Range". ### Max Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_MAX` · Range: [0.00..+∞] See ”Range". ### Spline Parameter ID: `OUTLINEMAT_OPACITY_LENGTH_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Total Length These define the minimum and maximum line length in pixels over which the parameter is modified. ![Image: 002928.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002928.jpg)\ Original, Color, Thickness, Opacity, All three The **Total Length** modifier modifiers the color, thickness or opacity based on the length of each stroke (or line segment if strokes are disabled). # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_SLENGTH_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Min Parameter ID: `OUTLINEMAT_OPACITY_SLENGTH_MIN` · Range: [0.00..+∞] Use the **min.** and **max.** settings to define the minimum and maximum stroke length, in pixels, along which a parameter should be modified. ### Max Parameter ID: `OUTLINEMAT_OPACITY_SLENGTH_MAX` · Range: [0.00..+∞] See ”Min". ### Spline Parameter ID: `OUTLINEMAT_OPACITY_SLENGTH_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Facing Angle ![Image: 002936.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002936.jpg)\ Original, Color, Thickness, Opacity, All three The Facing Angle modifier modifies the color, thickness or opacity based on the direction in which the lines are facing relative to the camera. Hidden lines are also affected if shown. ![Image: 002937.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002937.jpg)\ Blue visible lines and red hidden lines via the Facing Angle modifier. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_FACEANGLE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Spline Parameter ID: `OUTLINEMAT_OPACITY_FACEANGLE_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Join Angle > **Tip:** This modifier works with strokes only. ![Image: 002944.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002944.jpg)\ Original, Color, Thickness, Opacity, All three The **Join Angle** modifier modifies the color, thickness or opacity based on the angle of the joints in the stroke. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_JOINANGLE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Ends Parameter ID: `OUTLINEMAT_OPACITY_JOINANGLE_ENDS` Use this setting to define the look of the line tips. No Change When in this mode, the parameter's values will remain unchanged at both start and end of a given line. For example, if **Thickness** is set to 12 pixels in the **Thickness** tab the line will be 12 pixels thick at its start and at its end. Minimum Angle Zero Angle Maximum Angle Depending on the option selected, the line ends will reflect minimum, maximum or zero angle. ### Spline Parameter ID: `OUTLINEMAT_OPACITY_JOINANGLE_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Screen Angle ![Image: 002963.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002963.jpg)\ Original, Color, Thickness, Opacity, All three The Screen Angle modifier modifies the color, thickness or opacity based on the line's direction on the computer screen. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_SCREENANGLE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Spline Parameter ID: `OUTLINEMAT_OPACITY_SCREENANGLE_SPLINE` See Distance / Mode. ### Rotate Parameter ID: `OUTLINEMAT_OPACITY_SCREENANGLE_ROTATE` · Range: [-360..360°] The Rotate setting lets you rotate the modifier's effect. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ From Line > **Tip:** This modifier is available on the Color and Opacity tabs only. ![Image: 002973.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002973.jpg)\ Original, Color, Opacity, Color + Opacity The **From Line** modifier modifies the color or opacity based on distance from the line's edge. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_FROMEDGE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Spline Parameter ID: `OUTLINEMAT_OPACITY_FROMEDGE_SPLINE` See Distance / Mode. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Texture > **Tip:** This modifier is available on the Color and Opacity tabs only. With the exception of the **Python** modifier, this is the most powerful modifier in Sketch and Toon. It offers considerable control over the rendering of the lines and enables you to create countless brush effects. # Material Editor settings ### Load Brush... Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_LOAD` These buttons enable you to load and save the Texture settings for brush-style presets. ### Save Brush... Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SAVE` These buttons enable you to load and save the Texture settings for brush-style presets. ### Texture Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_LINK` ![Image: 002949.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002949.jpg)\ Texture & alpha, Original line, Texture, Texture & Alpha Here you can choose the main texture and apply an alpha to it. ### Strength Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Offset U Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_OFFSETX` · Range: [-100..100%] Use this setting to offset scale and texturing in the U direction. ### Offset V Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_OFFSETY` · Range: [-100..100%] Use this setting to offset scale and texturing in the V direction. ### Scale U Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SCALEX` · Range: [0..1000%] These values offset and scale the texturing in the U and V directions. ### Scale V Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SCALEY` · Range: [0..1000%] These values offset and scale the texturing in the U and V directions. ### Spacing Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SPACING` · Range: [1..1000%] ![Image: 002950.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002950.jpg)\ From left to right: Spacing set to 100%, 200% and 50%. The default **Spacing** value of 100% places one texture tile directly after another. Use a higher or lower value to move the tiles apart or overlap them. ### Scatter U Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SCATTER_U` · Range: [0..1000%] ![Image: 002951.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002951.jpg)\ Original, Scatter U, Scatter V, Scatter U & V, Count = 8 The **Scatter** values scatter the tiles in the U and V directions. 0% means no variation, 100% means maximum variation. ### Scatter V Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SCATTER_V` · Range: [0..1000%] The **Scatter** values scatter the tiles in the U and V directions. 0% means no variation, 100% means maximum variation. To mix in extra tiles, increase the Count value. For example, change the Count value from 1 to 3 for three times as many tiles. Parts of the texture that are not on the line will be cut off. See the middle line below. ![Image: 002952.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002952.jpg) ### Size Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SIZE` · Range: [1..1000%] ![Image: 002953.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002953.jpg)\ From left to right: Size set to 100%, 50% and 25%. The Size controls the scale of the tiles. The **Variation** value lets you vary the size of each tile from 0% (no variation) to 100% (maximum variation). ### Variation Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SIZE_VAR` · Range: [0..100%] See ”Size". ### Roundness Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_ROUND` · Range: [1..1000%] ![Image: 002954.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002954.jpg)\ From left to right: Roundness set to 100%, 35% and 200%. The Roundness value squashes (less than 100%) or stretches (greater than 100%) the tiles in the line's U direction. The Variation value varies the roundness of each tile from 0% (no variation) to 100% (maximum variation). ### Variation Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_ASPECT_VAR` · Range: [0..100%] See ”Roundness". ### Angle Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_ANGLE` · Range: [0..360°] This value rotates each tile. ### Variation Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_ANGLE_VAR` · Range: [0..100%] The Variation value varies the angle of each tile from 0% (no variation) to 100% (maximum variation). ### Count Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SCATTER_COUNT` · Range: [0..100] See ”Scatter U", ”Scatter V", ”Count". ### Variation Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_SCATTER_COUNT_VAR` · Range: [0..100%] Use this setting to define the degree of deviation allowed from the set value (0%=no deviation; 100%=maximum deviation). ### Aspect Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_ASPECT` ![Image: 002955.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002955.jpg)\ Aspect disabled (left) and enabled (right). If the **Aspect** option is disabled, the texture tile is stretched to fit the whole line. Enable the option to use the texture's width to height ratio instead. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_INVERT` ![Image: 002956.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002956.jpg)\ The texture (left) and Invert disabled (center) and enabled (right). Enable the **Invert** option to invert the texture's effect. Transparent parts become opaque and vice versa. ### Tile Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_TILING` ![Image: 002957.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002957.jpg)\ Tile disabled (left) and enabled (right). To tile the texture, enable the **Tile** option and ensure the **Aspect** option is disabled. ### Bend Parameter ID: `OUTLINEMAT_OPACITY_TEXTURE_BEND` ![Image: 002958.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002958.jpg)\ Bend disabled (left) and enabled (right). Enable the **Bend** option if you want the tiles rotate to follow the direction of the line. # Making a brush with the Texture modifier ![Image: 002959.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002959.jpg)\ Figure 1. - Start a new scene and draw a spline similar to the one above. - In the **Material Manager**, choose **Create / Materials / New Sketch Material**. - In the render settings, on the **Effects** tab, select the Sketch material and on its Lines tab, enable the **Splines** option. - In the **Material Manager**, double-click the Sketch material to display its settings in the Material Editor. - On the Thickness tab, set Thickness to, say, 30 pixels. On the Color tab, enable the **Along Stroke** option and define a gradient. ![Image: 002960.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002960.jpg)\ Figure 2. - Render to check the progress of the line (Figure 3, left line). ![Image: 002961.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002961.jpg)\ Figure 3. - On the Opacity tab, enable the **Texture** option and in the Texture settings that appear, click the Texture triangle and choose **Load Image**. Use the dialog that opens to load the chalk_chunky.jpg texture from Cinema 4D's library/pattern location. - Set **Spacing** to 8% to form a continuous line of tiles (Figure 3, right line). - The stroke looks too uniform. For a more natural effect, set the Variation value for Size to 20% and the Variation value for Angle to 10%. This varies the size and direction of the tiles (Figure 4, left line). ![Image: 002962.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002962.jpg)\ Figure 4. For finishing touches, try fading out the thickness and opacity at the ends of the stroke using the **Along Stroke** modifier on the Thickness and Opacity tabs (Figure 4, right line). ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Screen Texture ![Image: 002982.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002982.jpg)\ The texture, Color, Thickness, Opacity, All three The Screen Texture modifier modifies the color, thickness or opacity based on a texture map placed over the entire rendered image (the screen). If the object covers only part of the screen, it will receive only part of the texture. # Material Editor settings ### Texture Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE_LINK` Select a Screen Texture here. ### Strength Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Offset X Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE_OFFX` · Range: [-∞..+∞%] Use this setting to offset the text origin along the x axis on the screen. ### Offset Y Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE_OFFY` · Range: [-∞..+∞%] See ”Offset X". ### Length X Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE_LENX` · Range: [-∞..+∞%] See ”Offset X". ### Length Y Parameter ID: `OUTLINEMAT_OPACITY_SCREENTEXTURE_LENY` · Range: [-∞..+∞%] See ”Offset Y". ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Vertex Map > **Tip:** This modifier is available on the Thickness and Opacity tabs only. ![Image: 002970.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002970.jpg)\ Original, Thickness, Opacity The Vertex Map modifier modifies the thickness or opacity based on a vertex map. To choose which vertex map is used, assign a **Sketch Style** tag to the object if it does not have one already and set the map on the tag's **Maps** tab (Drag & drop the tag into the **Thickness** Map or **Opacity** Map box). # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_VERTEX_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Texture Map > **Tip:** The object must have a Material tag with a material assigned for this modifier to have an effect. ![Image: 002977.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002977.jpg)\ The texture, Color, Thickness, Opacity, All three The Texture Map modifier modifies the color, thickness or opacity based on a texture map. # Material Editor settings ![Image: 002978.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002978.jpg)\ Color tab. ### Strength Parameter ID: `OUTLINEMAT_OPACITY_MAP_STRENGTH` · Range: [0..100%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Texture Parameter ID: `OUTLINEMAT_OPACITY_MAP_LINK` Load the texture that should affect the strokes here. ### Projection Parameter ID: `OUTLINEMAT_OPACITY_MAP_PROJECTION` > **Tip:** Note:Please refer to your Cinema 4D reference manual for details concerning the various projection modes. Use this setting to define the type of projection for your texture, e.g., UVW, flat or spherical. ### Offset U Parameter ID: `OUTLINEMAT_OPACITY_MAP_OFFX` · Range: [-∞..+∞%] Use this setting to offset scale and texturing in the U direction. ### Offset V Parameter ID: `OUTLINEMAT_OPACITY_MAP_OFFY` · Range: [-∞..+∞%] See ”Offset U". ### Length U Parameter ID: `OUTLINEMAT_OPACITY_MAP_LENX` · Range: [-∞..+∞%] See ”Offset U". ### Length V Parameter ID: `OUTLINEMAT_OPACITY_MAP_LENY` · Range: [-∞..+∞%] See ”Offset U". ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Illumination ![Image: 002941.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002941.jpg)\ Original lighting, Color, Thickness, Opacity, All three The Illumination modifier modifies the color, thickness or opacity based on the illumination falling onto the line. # Material Editor settings On the Color tab you can use the modifier in two modes: Intensity and Color. ### Spline Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION_SPLINE` Using the spline, the strength of opacity can be adjusted via the illumination intensity. ### Mode Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION_LIGHT_MODE` Use this setting to define (per drag & drop) which lights should be used. Normally, all lights in a scene will be used. In order to use only selected lights or to exclude lights, use the **include** or **exclude** modes accordingly. ### Lighting Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION_MODE` Use this setting to define whether the modification should use lighting, its shadow or both. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION_INVERT` Enable this option to invert a given effect. ### Strength Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Lights Parameter ID: `OUTLINEMAT_OPACITY_ILLUMINATION_LIGHTS` Drag lights that should be included in rendering into this field. ![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\ Noise ![Image: 002986.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002986.jpg)\ Original, Color, Thickness, Opacity, All three The Noise modifier modifies the color, thickness or opacity based on a noise pattern. # Material Editor settings ### Strength Parameter ID: `OUTLINEMAT_OPACITY_NOISE_STRENGTH` · Range: [0..10000%] This is the strength of the modifier's effect, from 0% (no effect) to 100% (full effect). ### Type Parameter ID: `OUTLINEMAT_OPACITY_NOISE_TYPE` Choose from 30 types of noise such as Blistered Turbulence, Dents and Wavy Turbulence. These are the same types that are available for Cinema 4D's Noise shader. ### Mapping Parameter ID: `OUTLINEMAT_OPACITY_NOISE_MAPPING` The Mapping drop-down list controls which coordinates are used to generate the noise. This can affect how the noise looks, how it changes as the object or camera moves and whether the noise is continuous over line segments if strokes are disabled. Line 1D, Line 2D ![Image: 002989.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/002989.jpg)\ Strokes disabled (left) and enabled (right). This modifier uses the position along the line. Avoid using this type if strokes are disabled, otherwise poor results are likely (see left cylinder above). Screen The noise is calculated in the space of the screen. The noise will change as the object's position on the screen changes. Object The noise is calculated in object space and remains the same regardless of object and camera moves. World The noise is calculated in world coordinates. The noise remains the same if you move the camera but changes if you move the object. ### Octaves Parameter ID: `OUTLINEMAT_OPACITY_NOISE_OCTAVES` · Range: [1.00..20.00] Controls the number of octaves over which the noise will span. ### Scale Parameter ID: `OUTLINEMAT_OPACITY_NOISE_SCALE` · Range: [0..10000%] This setting shows the noise's global expanse. The **scale X** and **scale Y** values are the noise's relative scale values in the X and Y directions. ### Scale X Parameter ID: `OUTLINEMAT_OPACITY_NOISE_SCALE_X` · Range: [0..10000%] See ”Scale". ### Scale Y Parameter ID: `OUTLINEMAT_OPACITY_NOISE_SCALE_Y` · Range: [0..10000%] See Scale. ### Anim Speed Parameter ID: `OUTLINEMAT_OPACITY_ANIMSPEED` · Range: [0.00..+∞] Use this setting to define, in cycles per second, the speed with which the noise cycles should move. ### Detail Parameter ID: `OUTLINEMAT_OPACITY_DETAIL` · Range: [0..+∞%] Used for antialiasing. In general, leave the value set to the default of 100% but if the line texture flickers when you animate, try increasing the value. Or if you are rendering a high-res still and you want crisp detail, set the value lower. ### Low Clip Parameter ID: `OUTLINEMAT_OPACITY_LOW_CLIP` · Range: [0..100%] Use this setting to define lowest the point at which the noise will be cut off. All lesser values will be set to **0**. ### High Clip Parameter ID: `OUTLINEMAT_OPACITY_HIGH_CLIP` · Range: [0..100%] Use this setting to define the highest point at which the noise will reach its maximum effect (100%). ### Brightness Parameter ID: `OUTLINEMAT_OPACITY_BRIGHTNESS` · Range: [-100..100%] Use this setting to adjust the brightness of the noise. A value greater than 0 will increase the brightness, a value of less than 0 will lessen the brightness. ### Contrast Parameter ID: `OUTLINEMAT_OPACITY_CONTRAST` · Range: [-100..100%] Use this setting to adjust the contrast of the noise. Values greater than 0 will increase contrast, values less than 0 will lessen contrast. ### Absolute Parameter ID: `OUTLINEMAT_OPACITY_NOISE_ABS` If this option is enabled, the noise is absolute, causing it to fold about its midpoint. ### Invert Parameter ID: `OUTLINEMAT_OPACITY_NOISE_INVERT` Activate this option to invert the noise.