![]() |
![]() |
Pixel history is an event by event record of a pixel value. It is displayed in the debugger tab.
To create a pixel-history tab, right-click on a particular pixel in the render tab.
Select Debug this pixel from the contextual menu to create (or open an existing) pixel-history tab (the tab that opens is titled debugger).
Pixel history is an event-by-event description of what caused a change in pixel data. Each event is displayed separately with lots of relevant information such as the event number, the API call, and API parameters. Here is an example of a Draw call and the corresponding changes in pixel data.
This event caused two possible changes to the pixel data. The first is the calculation of the pixel color from the pixel shader, the second is the color written into the framebuffer (which may be different due to alpha blending, fog, etc.) by the output-merger stage.
A bounding box is drawn around each event; in this case an API call. Each event identifies the primitive that is used and provides links to the shaders used. To display the corresponding shader code for this event, click on the pixel shader or the vertex shader links. To debug a shader, see the shader debugger.