AGSL Visual Reference

Interactive visuals for every AGSL built-in function.

GT
float, float2, float3, float4, half, half2, half3 or half4.
BV
bool2, bool3 or bool4.
T
float2, float3, float4, half2, half3, half4, int2, int3, int4, short2, short3 or short4.
mat
float2x2, float3x3, float4x4, half2x2, half3x3 or half4x4.

Source of truth: the AGSL Quick Reference. Math runs with y pointing up on these canvases; in a real AGSL shader fragCoord.y points down. Color functions assume an sRGB working color space.