crt-generate-slot-mask

a tiled example of the slot mask texture, showing its characteristic rectangular RGB groupings

This shader generates a slot mask texture, used as the mask by the generate-screen-texture shader.

A mask that uses rectangular "slots" instead of the circular phosphors from earlier color TVs, with columns of RGB phosphor groups, where alternating columns are offset by half.

Index

Uniform Buffer Values

Uniform Buffer Values

g_texSize
                float2 g_texSize
              
Type
float2
Description
The size of the render target we are rendering to. It is expected that g_texSize.x == 2 * g_texSize.y.