Back to the Shapespark home page

Creating lights via JSON

Hi.
I would like to know if it is possible to create lights (position, type, amount of strength, used IES.file) with a JSON file during export from 3DS Max. Or do I have to export the lights themselves?

Regards, Tim

Hi @tim, you can do it using a following JSON file format: https://github.com/shapespark/shapespark-extras-json

Thank you, @jan Jan. Will this create new lights or do I first have to prepare them in Max?

If a light with a given name does not exist in the input FBX, it will create a new light. If the light exists in the FBX, it will update it.

Thanks for clarifying this!