light_res.statements.append(Statement("type", Token("point")))
pos = obj.matrix_world@mathutils.Vector((0.0, 0.0, 0.0, 1.0))
light_res.statements.append(Statement("position", *obj.matrix_world.col[3][0:3]))
+ light_res.statements.append(Statement("attenuation", 1.0, 0.0, 1.0))
else:
raise Exception("Can't export light {} of unknown type {}".format(light.name, light.type))