- Select the texture or render target from the list of resources and click the button to open the histogram. The X-axis contains color intensity values, while the Y-axis displays the number of pixels in the image with a given intensity.
- Analyze the color distribution within the frame. You can hover over the image to see the pixel values below the image. If the space below the histogram permits, you can also see:
- The original values used to store pixel information in memory. These are the same values as shown below the image, but in a more precise format.
- The normalized values used in shaders.
- Drill down to the color range with the pixel values you are interested in by clicking and dragging with the mouse pointer in the histogram, or typing the threshold values in theRange Selectorbelow the histogram. The image on the left updates to show the data for the selected range only. All the pixel values get clamped to the selected range, so you can easily analyze the data distribution in the histogram.
- If required for better visualization, toggle between the available channel configurations:
For non-RGB(A) images, the first available channel is selected. For example, only the Depth plane is shown for Depth and Depth–Stencil textures.
- RGB mode - includes all the available channels. If the alpha channel is present, you can switch it on and off using the toggle button below image.
- Red/Green/Blue color channels - show the image information in red/green/blue color plane.
- Alpha Channel - a grayscale conversion of the alpha data of the buffer.Switching the channel configuration does not affect the color range selection. TheResetbutton restores the full default color range for the RGB mode, and the [min, max] range for the selected color plane modes.
- Click theResetbutton to return the histogram to the full view and select a different range, if needed. You can also zoom in/out of the selected range using the mouse wheel, and scroll left/right by clicking and dragging the mouse while holdingCtrl.
- Open the histogram for the selected texture/render target. Since the RGB mode shows the default color range, some of the data is not displayed.
- Select one of the available color channels and clickReset. The histogram updates to include the entire available range, with all the pixel values clamped to the actual available range.
- Change the color channel back to the RGB mode. Switching color channels does not affect the range selection, so you can now view the full image with the actual range selected.
- [0, 32] for the Red channel
- [0, 64] for the Green channel
- [0, 32] for the Blue channel