ss3d: material/lighting system update [wip]