Custom shader works for SkinnedMesh

One more example, with using of .onBeforeCompile(): FBX + Material.onBeforeCompile()
You just take a default shader as is and change only the desired parts, keeping all the other functionalities of it.

2 Likes