Wow. Thank You!
What I was expecting is that because I am the one who choses to use THREE.ShaderLib.phong
, that I am the one responsible of feeding it with proper defines
. Thats why I was trying to just find all required uniforms and defines.
Your solution although is so clean.