Closed mjurczyk closed 1 year ago
Hi, thank you for this PR! I like your solution for differentiating CSM light sources from regular light sources in the shader.
I've committed some minor fixes, if everything looks okay to you then I will merge it.
LGTM
Small bugfixes for 2 long-standing issues:
Solves #13
Changes:
lightColor
to CSM constructorSolves #10
Changes:
Object3D#add
, prepend them to the parent as first light sources on the children's list