normal-map[css]: Fix incorrect normals scale.
normal-map[css]: Extract shaderFn() from closure.

Flatten structure since we don’t need to create a canvas just for
shaderFn.