Edge Detection | This node produces an effect that looks like ink drawing based on the edges of objects. |
The Edge Detection shader produces a non-photo-realistic rendering effect that looks like ink drawn along the edges of geometries. The shader checks the color differences in the texture source. It can be applied to any texture, including Live Video, Movie Clips and Render Target textures. The Edge Detection Shader generates a transparent output.
The color of the edges drawn can be changed with the Color property. Pixelsize defines the size of the pixels drawn that represent the edges of the original source image or texture. Scale specifies the threshold value for edge sensitivity, i.e. the difference in the colors of the source image or texture to be considered as an edge.
The Edge Detection Shader has fixed texture-mapping parameters. Live Video and Movie Clips will be flipped in Y if applying this shader to those texture sources. Scale the geometry on which these textures are applied to in Y by -1 and add a RenderOptions node with the BackfaceCulling property set to Clockwise to compensate this problem.