from pygltflib import GLTF2
filename = "Z:/projekte/284_COM_bubble/009_zeitraum/export/raum_04_rhein/raum_04_rhein.glb"
glb = GLTF2().load(filename)
mats = glb.materials
for m in glb.materials:
    if m.name == "dome":
        m.alphaMode='BLEND'
        m.doubleSided=True
        m.pbrMetallicRoughness.baseColorFactor = [1.0,1.0,1.0,0.1]
# glb.materials["transparent"].doubleSided=True
glb.save(filename)
filename = "Z:/projekte/284_COM_bubble/009_zeitraum/export/raum_04_rhein/raum_04_rhein_exit_animated.glb"
glb = GLTF2().load(filename)
mats = glb.materials
for m in glb.materials:
    if m.name == "dome":
        m.alphaMode='BLEND'
        m.doubleSided=True
        m.pbrMetallicRoughness.baseColorFactor = [1.0,1.0,1.0,0.1]
# glb.materials["transparent"].doubleSided=True
glb.save(filename)