A free custom node for Substance Designer that remaps the grayscale values in an input image per shape to use the full span of grayscale values from 0 to 1 within the shape, where the darkest pixel is 0 (pure black) and the brightest pixel is 1 (pure white). Requires a Flood Fill Bbox, Special Shape Info, and texture input.
Has a parameter option to fill the gaps outside of the shape mask.
Tested to be compatible with Substance Designer version 14.1.1+.
If there's any issues with the product, have any requests, or just want to let me know what you think, message me! I'm always open to feedback.
Released version 2.0 of the node, fixing bugs and adding a new parameter.