Shading Rate Pixels Per Degree Calculator
Actual effective horizontal shading-samples/degree=renderPPD/integer block width, not physicaldisplayPPDor foveated region area.
Description
Shading rate determines how many rendering samples cover a pixel region.
Shading rate determines how many rendering samples cover a pixel region.1
Horizontal samples per degree depend on render resolution and shading-block width. The calculation and input requirements are explained below.
When to use Shading Rate Pixels Per Degree Calculator
Enter positive render pixels per degree and an integer horizontal shading-block width from 1 to 1000000 pixels.
How to use Shading Rate Pixels Per Degree Calculator and how it works
- Prepare the measurements or independently established model inputs described below, with matching units and observation scope.
- Enter the required fields and run Shading Rate Pixels Per Degree Calculator.
- Read the result fields using the formula, output units, signs and ordering explained below.
- Correct any rejected inputs and rerun; interpret the result within the stated model and its assumptions.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| actualRenderPixelsPerDegree | Actual Render Pixels Per Degree. Use the units and matching context stated in the calculation below. | number | Required; strictly positive; finite; other constraints below |
| callerHorizontalShadingBlockWidthPixels | Caller Horizontal Shading Block Width Pixels. Use the units and matching context stated in the calculation below. | number | Required; integer 1–1000000; finite; other constraints below |
Enter positive render pixels per degree and an integer horizontal shading-block width from 1 to 1000000 pixels. Divide render PPD by width to obtain horizontal shading samples per degree. Physical display resolution and the area of foveated regions are not calculated.
shadingSamplesPerDegree=renderPpd/blockWidth Apply the input ordering, units and branch conditions stated above.
| Output field | Meaning | Value type |
|---|---|---|
| result | Object containing the calculated or selected fields below. | object |
| result.value | Numeric result under the formula and output units explained above. | number |
{
"input": {
"actualRenderPixelsPerDegree": 100,
"callerHorizontalShadingBlockWidthPixels": 2
},
"output": {
"result": {
"value": 50
}
}
} Limitations and assumptions
The calculation uses the supplied observations and model inputs. It does not collect measurements, select a reference population or coefficient, or establish that the model applies to the actual case. The stated branch conditions and output units remain part of the result.
All fields require explicit values. Unexpected fields, wrong types, nonfinite numbers and sparse arrays are rejected. Alignment, bounds and supported-token rules are explained above; extremely large inputs or nonfinite results can also fail. Input errors differ from successful false comparisons, unavailable-domain flags and empty match lists.
Alternative or Complementary methods
Use Volumetric Rendering Samples Calculator for a complementary operation: Volume rendering samples along an optical path.
Use Ray Marching Steps Calculator for a complementary operation: Ray marching evaluates a scene at successive positions along a ray.
References
Similar or alternative tools
- Volumetric Rendering Samples Calculator
Volume rendering samples along an optical path.
- Ray Marching Steps Calculator
Ray marching evaluates a scene at successive positions along a ray.