skip to content

Built-in Functions

0 questions

The maths you get for free: dot, cross, normalize, reflect, mix, clamp, smoothstep, step, and the texture lookups. Interviewers ask about these because reaching for a built-in instead of hand-rolled branching is what keeps a shader fast on wide SIMD hardware.

questions

0 questions