Skip to content

Fix material legacy parameter names in VisRTX backend

Tim Biedert requested to merge tbiedert/vtk:materialfix into master

This fixes a bug in the handling of legacy parameter names for the VisRTX backend.

Previously, the mapping was only applied based on parameter name, but the actual material type also needs to be considered.

Example:

  • ThinGlass: transmission -> attenuationColor (correct)
  • Principled: transmission -> attenuationColor (wrong)

@demarle

Merge request reports