Petya - Pixel Sorting Effect

The plugin recreates true pixel sorting effect based on the scene's luminance, custom depth or color properties without using techniques that fake the effect resulting from the sorting process.

Video

Documentation

Discord - Support, questions, user showcase.

Mask-Based Sorting: Sorts only pixels within specific thresholds (luminance + optional CustomDepth) defined by a mask, leaving other parts of the image untouched to preserve structure

Span Processing: Identifies continuous horizontal or vertical segments (spans) of pixels that fall within the mask criteria

Cinematic support: Convenient use of the effect in cinematics using an actor added by the plugin

Configurable Sorting:

  • Sorts identified spans based on pixel properties like Lightness, Hue, Saturation, Warmth and other properties,

  • Allows configuration for sorting direction (horizontal or vertical),

  • Standard and reversed sort order within spans.

Controlled Randomness: Can incorporate limits on span lengths and random offsets to create more varied and less uniform sorting effects.

Optimized Implementation: Utilizes techniques suitable for GPU execution, including shared memory for caching during the sort process

  • Depth Culling: Excludes pixels from the sorting process based on their distance from the camera, utilizing the scene's depth buffer.