# Is there any way to replicate/recreate Levels effect in Blender Shading Nodes?

I'm trying to make a normal map generator in Blender and I need to add Levels-like node. I'm using this tutorial about generating normal map from four pictures (https://dreamlight.com/how-to-create-normal-maps-from-photographs/#Photoshop - Create the Normal Map Layers header) and I'm stuck in a step where I must put Levels to 128-255 range on a Top-Right layer. Is there any way to reinvent Levels node in Blender Shading Nodes (Shading card)?

Images: My node tree

Results (TOP, looks okay) and normalmap preview

Results from Left-Bottom corner, looks bad!

And because the Color Ramp node uses 0-1 value range, just multiply your value by 1 / 255.