Skip to content

Fix writing of PBR material in vtkGLTFExporter for PBR interpolation

vtkGLTFExporter always wrote approximated Phong/Gouraud material parameters into glTF files, even when the actor was rendered using PBR interpolation.

Fixed by writing PBR parameters directly when interpolation of the actor property is set to VTK_PBR.

Merge request reports