type LightContextProps = {
useLight: (l: Light) => void,
bindMaterial: (
s: ShaderModule<any>,
) => ShaderModule<any>,
useMaterial: (
s: ShaderModule<any>,
) => ShaderModule<any>,
}
packages / workbench / src / providers / light-provider.ts