crt-generate-shadow-mask
This shader generates a shadow mask texture, used as the mask by the generate-screen-texture shader.
This emulates the earliest type of color CRT mask, which used RGB phosphors arranged in triads (triangular groupings).
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
.