#VRML_SIM R2022b utf8 # license: Apache License 2.0 # license url: http://www.apache.org/licenses/LICENSE-2.0 # A glossy paint material. The color can be selected in the `baseColor` field. PROTO GlossyPaint [ field SFColor baseColor 1 1 1 # Defines the paint's color. field SFNode textureTransform TextureTransform { scale 10 10 } # Defines an optional 2d texture transform. field SFFloat IBLStrength 1 # Defines the strength of ambient lighting from the Background node. ] { PBRAppearance { baseColor IS baseColor metalness 0 baseColorMap ImageTexture { url [ "textures/matte_car_paint/matte_car_paint_base_color.jpg" ] filtering 5 } roughnessMap ImageTexture { url [ "textures/glossy_car_paint/glossy_car_paint_roughness.jpg" ] filtering 5 } normalMap ImageTexture { url [ "textures/glossy_car_paint/glossy_car_paint_normal.jpg" ] filtering 5 } normalMapFactor 0.5 IBLStrength IS IBLStrength textureTransform IS textureTransform } }