Documentation / Node reference / code nodes

code/TextureLaplacian

How much each pixel differs from the average of its neighbours.

Texture

Gives the Laplacian of a texture at the pixel being written, for all four channels. It is 0 where the texture is flat. Added step after step, it makes a picture spread, as heat does.

Parameters

Name Type What it does
kernel UInt8 FIVE_POINT · NINE_POINT · SEVEN_POINT · TWENTY_SEVEN_POINT · ROUND · FAST Which neighbours are averaged, unless the kernel input is connected.
borderMode UInt8 CLAMP · TRANSPARENT · REPEAT · MIRROR What is read past the edge of the texture.

Examples

Scenes you can open in the editor that teach this node.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.