#VRML_SIM R2022b utf8
# license: Apache License 2.0
# license url: http://www.apache.org/licenses/LICENSE-2.0
# A corrugated plates material. The color can be overridden using the `colorOverride` field.

PROTO CorrugatedPlates [
  field SFColor colorOverride    1 1 1  # Defines the color to be multiplied with the texture color.
  field SFNode  textureTransform NULL   # Defines an optional 2d texture transform.
  field SFFloat IBLStrength      1      # Defines the strength of ambient lighting from the Background node.
]
{
  PBRAppearance {
    baseColor IS colorOverride
    baseColorMap ImageTexture {
      url [
        "textures/corrugated_plates/corrugated_plates_base_color.jpg"
      ]
    }
    roughnessMap ImageTexture {
      url [
        "textures/corrugated_plates/corrugated_plates_roughness.jpg"
      ]
    }
    metalnessMap ImageTexture {
      url [
        "textures/corrugated_plates/corrugated_plates_metalness.jpg"
      ]
    }
    normalMap ImageTexture {
      url [
        "textures/corrugated_plates/corrugated_plates_normal.jpg"
      ]
    }
    IBLStrength IS IBLStrength
    occlusionMap ImageTexture {
      url [
        "textures/corrugated_plates/corrugated_plates_occlusion.jpg"
      ]
    }
    textureTransform IS textureTransform
  }
}