Use the section map

Use the section map

Before using the section map, be sure to read the article on the section-map.

Jump to heading How to exclude objects from edge detection?

One of the ways that the section map may be used, is as a mask to keep edge-detected lines from showing up.

The section map is used as a mask, if the value of the section mask is 0. To achieve this, depending on the input source of your section map, just set the value to 0.

For example look at the scene below which is rendered using the Sections debug view. Using a vertex painting tool, I assigned random values for each object (for the red channel only) except for the lower right cube. For that cube, I assigned a value of 0 for the red channel. The debug view then shows this cube in bright blue, because the value 0 is treated as a special masking value.

Pasted image 20250107165156

If we then look at our edge detection settings, we see that we can use the section map to mask out edges. We can do this selectively for each edge detection source.

In the settings, edges are detected using the Depth, Normals and Sections sources. The section map is then generated using vertex colors (red channel specifically).

Then, the section map mask (which we applied to the lower right cube), is used to mask out edges detected based on Sections, Depth and Normals by enabling each corresponding Section Mask toggle.

Pasted image 20250107165459 Pasted image 20250107165430

If for example we disable the Section Mask toggle, we can still allow edges to be detected based on the normals.

Pasted image 20250107165801

This masking feature can be used to only selectively apply edge detection outlines to objects.

❓ Confused?

Need more information about any of this? Contact me.

⭐ Enjoying Linework?

Writing a review helps me out greatly! It helps the asset's visibility and supports me in the development of Linework! If you have a support question, check ⁠support instead. Thank you very much.

Write a review