You can visualize the color data and analyze the content of the textures and render targets of your frame using the color histogram. Depending on the format type, the pixel values of your texture/render target could have different default ranges. For floating-point texture formats, the default range is [0, 1]. For integer formats, the range spans from the minimum to the maximum possible value. If the pixel values you are interested in lie within a range much smaller than the default range, it might be hard to see the details of the image with the naked eye. In this case, try the following:
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 the Range Selector below 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:
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. The Reset button restores the full default color range for the RGB mode, and the [min, max] range for the selected color plane modes.
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.
button 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 holding