Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
Levels Node
Access: Nodes > Filter > Levels
The Levels node takes your existing image color information and remaps in the input levels (color amount) to the specified output. By manipulating the white and black amounts of the input and output you can effectively manipulate the brightness of your textures.
The Levels node is often used to add small color corrections, for example to lift or darken your textures, but is also very important when it comes to creating masks. By manipulating your tiled textures, projections or other elements in your project, the Levels node can really help you get the most out of your images. As well as subtle changes, you can use it to make big changes and get something completely different.
The Levels node also has the option to change single color channels if, for example, you want to darken just the Red channel in your image without changing the Blue or Green.
Levels Node Inputs
Input - Defines which nodes and textures the Levels node affects.
Levels Node Properties
Clamp Dropdown List |
The Clamp dropdown lets you clamp values above 1 and below 0. Clamp is disabled by default, but you can change it to Clamp Output Values, or Clamp LDR (Clamp Low Dynamic Range). If you are having unpredictable results from a Merge node later in your node tree, or a you change the levels of a mask that doesn't seem to behave right, then Clamping may fix that. |
Red, Green, Blue Checkbox |
Tells the Levels node which color channels of your input you want to adjust. By default the red, green, and blue channels are selected. |
Output Level
White text field, slider |
Applies a negative or positive gain on the white levels of the output. Default is 1. While the slider maxes at 1, you can increase it by typing in the text field. |
||||||
Black text field, slider |
Applies a negative or positive gain on the black levels of the output. |
Input Level
Mid Mode Dropdown List |
Changes the Black and White midpoint level as either Absolute color data of 0 and 1, or Relative to the black and white values you provide. For example, if WhiteInput level is 1.0, and Black Input level is 0.2, with a Midpoint defined of 0.5: In Absolute mode, the midpoint is 0.5. In Relative mode, the midpoint is 0.6. |
||||||
White text field, slider |
Changing the White value redefines what input value is pure white. Decreasing the White value pushes the lighter values closer to white, potentially losing information by having large areas of pure white. Default is 1. |
||||||
Mid text field, slider |
Changing the Mid value redefines mid gray in your texture. Moving it lower will shift your whole texture lighter, and higher will darken your textures. Default is 0.5. |
||||||
Black text field, slider |
Changing the Black value redefines what input value is pure black. Moving it up moves the darker values closer to black, potentially losing information by having large areas of pure black. Default is 0. |
Levels Node Workflow Example
Texture Grading with Levels
Adjusting the input levels of your White and Black up and down you can add contrast to your textures easily. Unlike a Contrast node, you have a lot more control over making fine tweaks to your dark or light values.
If you have imported image resources that need to match images from a different source (such as an on set photography reference) a Levels node is a great way to get two images or projections to work together. The Levels node is also a good node to use in conjunction with an HSV Node to adjust the Saturation Scale and Hue Shift for final color tweaks.
Creating Secondary Maps with Levels
Levels are especially useful when creating channels from other channels.
The Bump for the skin is converted into a Specular Roughness Channel so the details line up.
Let's break down how to make a channel from another one:
1. | Inverting the Bump gives you areas that push in to be lighter, meaning they would be more rough. |
2. | From there you can use Levels nodes to apply different grades to different parts of the model. |
3. | Since you want the inside of the mouth, the nose, and around the eyes to appear wetter, creating a mask for them and using a Levels node means you can grade them darker, making the specularity tighter. |
Let’s edit the mouth first. Here is the base texture:
We also need to define which part of the mesh this Level node affects. We can then use a mask of the inside of the mouth on the Merge node to only make that area darker:
|
|
This is a great way to use the Levels Node to add edits to parts of your texture. You can use multiple Levels to make a series of changes to your texture that end up changing one map to be used as another. The image below breaks down the process:
Experimenting with the Input Level sliders, you are able to add contrast and bring a wider value range in the Specular Roughness. Like most nodes, it’s about trying different values until you get the result you want.
Related Nodes
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.