Turning on vertex lighting

For many of my models, I export from sketchup and get an mesh.xml and .material, which I then convert to j3o. I never have a .j3m material file. I am trying to turn vertex lighting on, is there a way I can do it without a material file, preferably in code?

(I can open in scene composer, select individual geometries, select generated material, then tick vertex lighting in that, but there is about 10 per j3o file, and about 100 seperate j3o files so far; hoping I can avoid it?)


1 Like