Color gathertop half
Four neighboring values from the selected color channel become RGBA.
- Channel
- R (0)
- Offset
- 0, 7
Texture sampling usually returns one filtered value. Gather reads a four-texel neighborhood from a selected channel, then the same operation can compare a depth texture against a reference.
Building the color and depth render-target sources.
Four neighboring values from the selected color channel become RGBA.
Gathered depth values run through a comparison sampler reference.
The selected channel is a compile-time gather index; graph rebuilds make that boundary explicit.
Change the channel or offset, rebuild the node graph, and compare the two backends.
Previous: render target array / 3D →