code: def json_texture(t):
      return PhongMaterial(
          side="DoubleSide",
          color=t["color"],
          opacity=t["opacity"],
          transparent=t["opacity"] < 1,
          overdraw=1,
          polygonOffset=True,
          polygonOffsetFactor=1,
          polygonOffsetUnits=1,
      )
  
file_path: pythreejs/pythreejs/sage.py
label_desc: Use image node_id 4 for calling a global function with example usage: json_texture(t) and returns: PhongMaterial