Wrap a ShaderMaterial as a normal-buffer view. The returned view renders the
source's geometry (instancing/displacement intact) but writes the geometric
normal instead of the material's colour. Idempotent-friendly: create one per
source and reuse it.
Wrap a ShaderMaterial as a normal-buffer view. The returned view renders the source's geometry (instancing/displacement intact) but writes the geometric normal instead of the material's colour. Idempotent-friendly: create one per source and reuse it.