- KeyShot Python Material Shaders
- Shader Nodes
- Table of Contents
- Material Xray
- Parameters for shader node in material'Xray':
- The Xray material type provides a useful tool for illustrative renderings. It is often used to create a faded view through an outer shell.
- Material Velvet
- Parameters for shader node in material'Velvet':
- The Velvet material is very useful for creating soft fabrics that have the distinct light catching effects that result from the soft fibers in finely woven fabrics.
- Material Gem
- Parameters for shader node in material'Gem':
- Material Thin Film
- Parameters for shader node in material'Thin Film':
- The Thin Film material type produces an iridescent effect similar to a soap bubble.
- Material Measured
- Parameters for shader node in material 'Measured'
- The Measured material type supports the import of the X-Rite Appearance exchange Format (AxF) and Radiance BSDF format. These formats contain vendor neutral digital material representations that captures the light scattering characteristics for specific physical materials.
- Material Wireframe
- Parameters for shader node in material'Wireframe':
- The Wireframe material type exposes the lines and vertices of each polygon of a surface.
- Material Translucent
- Parameters for shader node in material'Translucent':
- The Translucent material type provides control over subsurface scattering properties that are found in many skin, plastic and other materials.
- Material Ground
- Parameters for shader node in material'Ground':
- The Ground material type is a specialised material type for creating a ground for rendered objects. It is a shadow and reflection catching material that blends with the Environment Background. The shadows and reflections will also have transparency when rendering to an image format that supports it.
- Material Metallic Paint
- Parameters for shader node in material'Metallic Paint':
- The Metallic Paint material type simulates a two-layer paint job: a base coat and a clear-coat that provides a clean reflection over the entire material.
- Material Glass
- Parameters for shader node in material'Glass':
- This is a simple Material Type for creating glass materials.
- Material RealCloth
- Parameters for shader node in material'RealCloth':
- The RealClothTM procedural material enables you to create woven fabrics, with your custom weave patterns, detailed down to the ply. And make the cloth appear even more tactile with flyaway fibers.
- Material Point Light
- Parameters for shader node in material'Point Light':
- Applying a Point Light to geometry replaces it with a point located in the parts center.
- Material Generic
- Parameters for shader node in material 'Generic':
- The Generic material type is based on the Disney BRDF shader. When you use the Material Importer to import materials such as a Unified 3D Material (.u3m) or Substance Painter Project (.sp) their properties will be mapped to the properties of the Generic material. The generic material is intended for PBR materials where texture used files are used to set parameters.The Disney BRDF shader has values going from 0-1. In the Generic material type, we have, for artistic purposes, allowed some of the parameters to have values exceeding this.
- Classes ShaderNode ShaderEdge MaterialGraph ShaderParameter MaterialMetadata SHADER PARAMETERS
- class MaterialGraph
- class MaterialMetadata
- class ShaderNode
- class ShaderParameter
- saveMaterialMetadata(...)
- SHADER PARAMETERS
- SHADER_TYPES
- NOTE
- Basic Materials
- General Parameters
- Diffuse Parameter
- Specular Parameter
- Refractive Index
- Caustics
- Roughness Parameter
- Samples
- Roughness Texture
- The Material Graph facilitates advanced material editing/creation. The feature is available only for users of KeyShot Pro.
- Material Graph Nodes
- Root Node
- Types of light sources
- Material Anisotropic
- Parameters for shader node in material'Anisotropic':
- Material Dielectric
- Parameters for shader node in material'Dielectric':
- Material Translucent Medium
- Parameters for shader node in material'Translucent Medium':
- The TranslucentMedium material type provides control over subsurface scattering properties that are found in many skin, plastic and other materials. Compared to the basic Translucent material type, this generally will resolve faster.
- Material Emissive
- Parameters for shader node in material'Emissive':
- The Emissive material type can be used for small light sources such as LEDs, lamps or even illuminated screen displays. It is not meant to illuminate scenes as a main light source. The emissive material will need “Global illumination” enabled in “lighting” to illuminate other geometry in the Real-time view. It will also need ground illumination to illuminate the ground plane as shown. Color textures can be mapped to the material and any colors included in the texture will be emitted as light. When using emissive materials, it is a good idea to enable “Bloom” in the Image Style settings. This will create the glowing effect shown in the image.
- Material Plastic Transparent
- Parameters for shader node in material'Plastic Transparent':
- Material Cutaway
- Parameters for shader node in material'Cutaway':
- Material Liquid
- Parameters for shader node in material'Liquid':
- The Liquid Material Type is a variant of the Solid Glass material that has the added ability to set the outside refractive index. This allows you to accurately create surfaces that represent the interface between, for example, a glass container and water.
- Material Plastic
- Parameters for shader node in material'Plastic':
- The Plastic Material Type provides the basic settings needed to create simple plastic materials. Set the diffuse (overall color) and add some specular (reflections), then adjust the roughness. This is a very versatile material type that is used for anything from concrete to woods.
- Material Advanced
- Parameters for shader node in material'Advanced':
- Material Diffuse
- Parameters for shader node in material'Diffuse':
- The Diffuse material type is useful for easily creating any kind of matte or non-reflective material. It has only one setting, the diffuse color. Since it is an entirely diffuse material, specular maps are not available.
- Material Plastic Cloudy
- Parameters for shader node in material'Plastic Cloudy':
- Material IES Light
- Parameters for shader node in material'IES Light':
- When using IES Light, you will need to load an IES profile by clicking on the folder icon in the editor. As soon as you load the profile you will see the shape of the IES profile in the material preview. You will also see the shape in form of a mesh in the Real-time View.
- Material Spotlight
- Parameters for shader node in material'Spot Light':
- Spotlight
- Material Area Light
- Parameters for shader node in material'Area Light':
- Material Metal
- Parameters for shader node in material'Metal':
- The Metal material type is a simple way to create polished or rough looking metal materials. It provides quick color adjustment, metal presets and simple settings for quick creation of metal materials.
- Material Flat
- Parameters for shader node in material'Flat':
- The Flat Material Type is a very simple material type that produces an unshaded, perfectly even color over the entire part to which it is applied.
- Material Paint
- Parameters for shader node in material'Paint':
- The Paint Material Type is used when a plain, non-metallic paint appearance is desired. It provides a quick way to set a base color and then control the clear-coat on top.
- Material Multi-Layer Optics
- Parameters for shader node in material'Multi-Layer Optics':
- The Multi-Layer Optics material enables you to create materials with multiple thin-film layers.
- Basic Materials
- Material Scattering Medium
- Parameters for shader node in material'Scattering Medium':
- With scattering medium you can simulate particle scattering to create such effects as fog or smoke or volumetric lighting such as visualizing beams or rays of light.
- Material Glass Solid
- Parameters for shader node in material'Glass Solid':
- The Glass (Solid) Material Type provides a physically accurate glass material. Unlike the simpler glass material type, you will find that solid glass simulates the effect color in the glass accurately as it takes into account the thickness of your model.
- Material Toon
- Parameters for shader node in material'Toon':
- The Toon material type allows you to apply a solid color with contour lines to your 3D model. You are able to control the contour width, the number of contour lines, and whether or not shadows are cast onto surfaces. This is useful for creating sketches, product concepts, or technical illustrations. The Toon material type contains the following properties:
- Geometry Nodes
- Texture Nodes
- 2D Procedural
- 3D Procedural
- Animation Nodes
- Utility Nodes
- Material Xray
- Material Velvet
- Material Gem
- Material Thin Film
- Material Measured
- Material Wireframe
- Material Translucent
- Material Ground
- Material Metallic Paint
- Material Glass
- Material RealCloth
- Material Point Light
- Material Generic
- Classes ShaderNode ShaderEdge MaterialGraph ShaderParameter MaterialMetadata SHADER PARAMETERS
- Material Anisotropic
- Material Dielectric
- Material Translucent Medium
- Material Emissive
- Material Plastic Transparent
- Material Cutaway
- Material Liquid
- Material Plastic
- Material Advanced
- Material Diffuse
- Material Plastic Cloudy
- Material IES Light
- Material Spotlight
- Material Area Light
- Material Metal
- Material Flat
- Material Paint
- Material Multi-Layer Optics
- Material Scattering Medium
- Material Glass Solid
- Material Toon
- SHADER_TYPE: lux_xray
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): Main color of the Xray material. (Value: (0.3, 0.3, 0.3, 1.0))
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 14)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
The Xray material type provides a useful tool for illustrative renderings. It is often used to create a faded view through an outer shell.
Color When applied to a part, the Xray effect works by showing more of the material color on areas of the surface that are being viewed at more of an angle. The surface is nearly completely transparent where it is viewed at a direct angle.
Note The Xray material does not cast shadows.
- SHADER_TYPE: lux_velvet
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- backscatter (PARAMETER_TYPE_FLOAT): Controls the backscattering of light. (Value: 0.1)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0.3, 0.3, 0.3))
- edginess (PARAMETER_TYPE_FLOAT): Controls the edge appearance for a more pronounced velvet effect. (Value: 10.0)
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 4)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.1)
- sheen (PARAMETER_TYPE_COLOR): Sheen color of the material. (Value: (0.25, 0.25, 0.25))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
backscatter (Type: 4)
-
bumpmap (Type: 65539)
-
diffuse (Type: 13)
-
edginess (Type: 4)
-
glossy_samples (Type: 2)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
sheen (Type: 13)
The Velvet material is very useful for creating soft fabrics that have the distinct light catching effects that result from the soft fibers in finely woven fabrics.
You will generally be able to do fabric materials well with the RealCloth, Plastic or Advanced material types – but the velvet material provides control over parameters not found in other material types.
Diffuse This can be thought of as the overall color of the material. A dark color is generally preferred for both the diffuse and sheen settings as this material can become unnaturally bright when light colors are used.
Sheen The sheen color is observed as light that appears to be reflected back across the surface from behind, almost as though the surface is backlit. This setting is combined with the edginess control to add a soft sheen across the entire material. The backscatter parameter also gets its color from the sheen setting. Generally, this should be set to a color very similar to the diffuse color, but a bit brighter.
Roughness The roughness setting determines how evenly the backscatter effect is distributed across the surface. When this is set to a low value, the backscattered light will stay contained within smaller areas. A high value will spread the light across the entire object evenly.
Backscatter This is light that is scattered across the entire object and is especially apparent in the shadowed areas of the object. It can be used to give an overall soft look to the surface. The color of the backscatter light is set with the sheen control.
Edginess This controls how far the sheen effect spreads over the surface. A low value will cause the sheen to fade out gradually, while a high value will produce a bright border of sheen around the edges of the surface. A setting of zero disables the sheen effect.
Samples The samples setting controls how imperfect or refined the backscatter effect appears. A higher value will smooth out this scattered light and will cause it to appear more even. A low value will show a coarser grain/noisiness in the backscattered light. A higher setting, around 32, is often preferred for this setting as it provides a smoother result.
- SHADER_TYPE: lux_gem
- abbe_number (PARAMETER_TYPE_FLOAT): Abbe number for the material, influencing dispersion. (Value: 0.0)
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the material. (Value: (0.3025, 0.3025, 0.3025))
- dispersion_samples (PARAMETER_TYPE_INTEGER): Number of samples for calculating dispersion. (Value: 3)
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 9)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- solid (PARAMETER_TYPE_BOOLEAN): Determines if the material is treated as a solid object. (Value: False)
- transparency (PARAMETER_TYPE_FLOAT): Defines the level of transparency. (Value: 500.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
abbe_number (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 13)
-
dispersion_samples (Type: 2)
-
glossy_samples (Type: 2)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
solid (Type: 1)
-
transparency (Type: 4)
The Gem Material Type is related to the Solid Glass, Dielectric, and Liquid Material Type. The settings have been optimized to be relevant to rendering gem stones. The Abbe Number (dispersion) control is especially important for gem stone rendering as it produces the “fire” effect that is often desired.
Color This controls the overall color of the gemstone. When light enters the surface it will take on the color set here. The amount of color you see in this material is highly dependent on the transparency setting as well.
Transparency Distance (Formerly Transparency) This slider controls the depth of the color selected in the Color setting, depending on the thickness of the part to which the material is applied. After setting a color in the Color setting, use Transparency Distance to make that color more or less saturated and prominent. A lower setting will show the color more in thin areas of the model, and a high setting will make the color faint in the thin areas.
This physically accurate parameter simulates the effect you can observe by looking at the color of the shallow water at a beach versus the deep blue of a deep ocean. Without this you would see through to the bottom of the deepest ocean as easily as to the bottom of a swimming pool.
Refractive Index This controls how much light will bend or “refract” as it passes through parts on your model that have this type of material. The default of 1.5 (the Refractive Index of Lapis Lazuli) is a general setting and will need to be adjusted depending on the gem you desire. A Table of Refractive Index for Gemstones can be found on the International Gem Society website.
Roughness Roughness on this type of material will spread out highlights on the surface similar to what you see on other, non-transparent, materials. However, it also spreads out the light that is transmitted through the material. This is used to create a frosted glass look.
Samples This can be used with a low setting to produce a more imperfect/noisy result or a high setting to smooth out the noise/grain for a smoother frosted look.
Abbe Number (Dispersion) The Abbe number controls dispersion of light as it is transmitted through the surface and produces a prismatic effect. This prismatic color effect can be used to create the “fire” effect often desired when rendering gem stones. A value of zero will disable the dispersion effect entirely. A low value will show heavy dispersion, and as you increase the value, the effect will become more subtle. A setting around 35-55 is a good starting point if a subtle dispersion effect is desired.
Dispersion Samples This can be used with a low setting to produce a more imperfect/noisy result or a higher value to smooth out the noise/grain for a smoother look.
Ignore intersecting geometry When enabled overlapping geometry will be ignored. This is useful for e.g. the prong setting of diamond ring, where the real life deformation made to the prongs when fixing the gemstone is not modeled and the geometry is in fact overlapping,
- SHADER_TYPE: lux_thinfilm
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color_filter (PARAMETER_TYPE_COLOR): The color filter effect of the thin film. (Value: (0.3025, 0.3025, 0.3025))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- thickness (PARAMETER_TYPE_FLOAT): The thickness of the thin film layer. (Value: 580.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color_filter (Type: 13)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
thickness (Type: 4)
Refractive Index The Refractive Index setting for Thin Film provides more or less reflection on the surface. Increase the value to get more reflection intensity. The actual colors you see in the thin film will be affected by the Refractive Index. However, you can shift the colors with the Thickness setting, so typically you will focus only on finding the desired amount of reflection with the Refractive Index setting.
Thickness Changing the Thickness setting will shift the colors that you see on the surface set as Thin Film. Increasing the setting to a very high value will result in the effect of layers of colored rings on the surface. It is generally a good idea to stay within a range of 100-1000.
Color Filter The Color Filter setting acts as a color multiplier for the Thin Film material type. When the Color Filter is set to white the color of the material will be determined by the Thickness setting. Less saturated colors can be used to add subtle hue shifts while fully saturated colors have a greater influence. The Color Filter setting can be textured with color maps to create material breakups such as those seen on solar cells or to add surface imperfections to an optical lens or automotive headlight.
- SHADER_TYPE: lux_measured
- absorption_gain (PARAMETER_TYPE_FLOAT): Gain for absorption coefficient. (Value: 1.0)
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bsdf (PARAMETER_TYPE_TEXTURE): Defines the Bidirectional Scattering Distribution Function. (Value: X-Rite AxF/General/X-Rite_White_Panel.axf relative to the configured textures folder)
- bump_height (PARAMETER_TYPE_FLOAT): Height for the bump map. (Value: 1.0)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- cc_bump_height (PARAMETER_TYPE_FLOAT): Clearcoat bump map height. (Value: 1.0)
- diffuse_gain (PARAMETER_TYPE_FLOAT): Gain for diffuse reflection. (Value: 1.0)
- diffuse_tint (PARAMETER_TYPE_COLOR): Tint for diffuse reflection. (Value: (1.0, 1.0, 1.0, 1.0))
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness_factor (PARAMETER_TYPE_FLOAT): Factor affecting the roughness. (Value: 1.0)
- scattering_gain (PARAMETER_TYPE_FLOAT): Gain for scattering coefficient. (Value: 1.0)
- show_flakes (PARAMETER_TYPE_BOOLEAN): Determines if flakes are visible. (Value: True)
- specular_gain (PARAMETER_TYPE_FLOAT): Gain for specular reflection. (Value: 1.0)
- specular_tint (PARAMETER_TYPE_COLOR): Tint for specular reflection. (Value: (1.0, 1.0, 1.0))
- texture_space (PARAMETER_TYPE_INTEGER): Texture space used for the material. (Value: 1)
- transform_obj_to_uv (PARAMETER_TYPE_MATRIX): Transformation matrix from object to UV space. (Value: <luxmath.Matrix>)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
absorption_gain (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bsdf (Type: 9)
-
bump_height (Type: 4)
-
bumpmap (Type: 65539)
-
cc_bump_height (Type: 4)
-
diffuse_gain (Type: 4)
-
diffuse_tint (Type: 14)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness_factor (Type: 4)
-
scattering_gain (Type: 4)
-
show_flakes (Type: 1)
-
specular_gain (Type: 4)
-
specular_tint (Type: 13)
-
texture_space (Type: 2)
-
transform_obj_to_uv (Type: 12)
-
uv_angle (Type: 4)
-
uv_camera_map_locked (Type: 1)
-
uv_depth (Type: 4)
-
uv_diameter (Type: 4)
-
uv_flip_u (Type: 1)
-
uv_flip_v (Type: 1)
-
uv_lock_aspect (Type: 1)
-
uv_mapping (Type: 2)
-
uv_scale_mode (Type: 2)
-
uv_scale_u (Type: 4)
-
uv_scale_v (Type: 4)
-
uv_shader (Type: 65541)
-
uv_shift_u (Type: 4)
-
uv_shift_v (Type: 4)
-
uv_two_sided (Type: 1)
The Measured material type supports the import of the X-Rite Appearance exchange Format (AxF) and Radiance BSDF format. These formats contain vendor neutral digital material representations that captures the light scattering characteristics for specific physical materials.
The X-Rite AxF Material Format AxF is a digital file format developed by X-Rite that delivers a standardized appearance representation. AxF materials are created from physical material samples scanned using an X-Rite TAC7 Scanner which captures and creates the accurate digital material specifications in the AxF file. AxF files can be accessed from digital material catalogs such as the PatoneLIVE Cloud and imported directly into KeyShot using a Measured material type. Learn more about AxF and how to create them at xrite.com/axf/.
Download AxF Sample files from X-Rite The Radiance XML BSDF Format BSDF (bidirectional scattering distribution function) is a mathematical model used to describe light interactions with surfaces. Developed for the Radiance Renderer, the BSDF file format supported in KeyShot is an XML format containing measured BSDFs defining the distribution function that dictates how the light is scattered and how the material appears.
Importing Measured Materials You can import .Axf materials directly into the material panel or to the Library, either directly or using the Material Importer.
While editing a material in the Projects > Materialtab, select Measured from the Material Type drop-down, the part will appear black and a File location field will appear in the Properties tab. Select the folder icon to select a measured file format. Both the .axf and .xml file extensions are supported.
- SHADER_TYPE: show_wireframe
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- backside_base_color (PARAMETER_TYPE_COLOR): Base color of the backside. (Value: (0.4, 0.4, 0.4))
- backside_wire_color (PARAMETER_TYPE_COLOR): Wire color of the backside. (Value: (0.0, 0.0, 0.5))
- base_color (PARAMETER_TYPE_COLOR): Base color of the material. (Value: (0.3, 0.3, 0.3))
- base_transmission (PARAMETER_TYPE_COLOR): Base transmission of the material. (Value: (0.0, 0.0, 0.0))
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- width (PARAMETER_TYPE_FLOAT): Width of the wireframe lines. (Value: 0.5)
- width in pixels (BOOLEAN): Determines if the width is in pixels. (Value: True)
- wire_color (PARAMETER_TYPE_COLOR): Color of the wireframe lines. (Value: (0.0, 0.0, 0.5))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
backside_base_color (Type: 13)
-
backside_wire_color (Type: 13)
-
base_color (Type: 13)
-
base_transmission (Type: 13)
-
bumpmap (Type: 65539)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
width (Type: 4)
-
width in pixels (Type: 1)
-
wire_color (Type: 13)
Width Controls the width of the lines (wires) in the wireframe.
Width in pixels When enabled, the wires are defined using pixels. When this setting is disabled, the wires are defined using scene units.
Wire Color This controls the color of the lines of the wireframe Base Color This controls the overall color of material, excluding the wires.
Base Transmission Color This value controls the base color transmission. A lighter color will give the appearance of transparency.
Backside Base Color This controls the backside of the base color. On a cube this would be the inside of the cube.
Backside Wire Color This controls the backside of the wire color.
- SHADER_TYPE: lux_translucent
- alpha (PARAMETER_TYPE_FLOAT): Transparency of the material. (Value: 1.0)
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0.5, 0.5, 0.5))
- global illumination (BOOLEAN): Determines if global illumination effects are calculated. (Value: False)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- samples (PARAMETER_TYPE_INTEGER): Number of samples used for the material's appearance. (Value: 25)
- specular_color (PARAMETER_TYPE_COLOR): Color of specular reflections. (Value: (1.0, 1.0, 1.0))
- specularity (PARAMETER_TYPE_FLOAT): Degree of specularity. (Value: 1.0)
- texture_color (PARAMETER_TYPE_COLOR): Color of the texture. (Value: (1.0, 1.0, 1.0, 1.0))
- translucency (PARAMETER_TYPE_FLOAT): Degree of translucency. (Value: 1.0)
- transmission (PARAMETER_TYPE_COLOR): Color of transmission through the material. (Value: (0.2, 0.2, 0.2))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
alpha (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 13)
-
global illumination (Type: 1)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
samples (Type: 2)
-
specular_color (Type: 13)
-
specularity (Type: 4)
-
texture_color (Type: 14)
-
translucency (Type: 4)
-
transmission (Type: 13)
The Translucent material type provides control over subsurface scattering properties that are found in many skin, plastic and other materials.
Surface Color This controls the diffuse color of the outer surface of the material. Consider this the overall color of the material. Something to be aware of with this unique material type is that you will not see the translucent effect of the subsurface color if the surface color is completely black.
Subsurface Color This setting controls the color that light will take on as it passes through the material. Your own skin is a great example of the subsurface scattering effect. When a bright light shines through the thin parts of an ear or the thin skin between fingers, the light is colored by what lies beneath the surface and comes back more red.
While the light is passing through the surface, it is bounced around in many random directions. This creates the soft translucent effect rather than the direct refraction effect of glass and similar materials.
For plastic materials, you will often set this color to something very similar to the surface color, but perhaps a a bit brighter.
Translucency This controls how deep light penetrates into and through the surface depending on the units set under Edit > Set Scene Units. The higher your translucency value, the more of the subsurface color you will see coming through the surface. Higher translucency values will also create a softer looking material.
Texture This affects the Surface Color setting. This color multiplies and blends the surface color. For instance, when the Surface Color is yellow and the Texture Color is blue, the result will be green. When set to white, it will not affect the surface color.
Specular This controls the intensity of the reflections on the surface. This works together with the Refractive Index setting to further increase or decrease the strength of the reflections on the surface.
Roughness Increasing roughness will spread and distribute reflections over the surface and create a more matte surface.
Advanced Refractive Index This controls how much light will bend or refract as it hits and passes through parts that have this type of material. The default of 1.4 is a good starting point, but you can increase the value to create a more dramatic refraction within the surface.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
Global Illumination This options enables Global Illumination for the material independent of the general Lighting setting for Global Illumination.
- SHADER_TYPE: lux_ground
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- clip (BOOLEAN): Determines if the ground plane clips the scene geometry. (Value: False)
- ground illumination (BOOLEAN): Determines if ground illumination is calculated. (Value: True)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light at the ground plane. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- reflection_contrast (PARAMETER_TYPE_FLOAT): Contrast for reflections on the ground. (Value: 0.0)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections on the ground. (Value: 0.0)
- shadow_color (PARAMETER_TYPE_COLOR): Color of shadows cast on the ground. (Value: (0.0, 0.0, 0.0))
- specular (PARAMETER_TYPE_COLOR): Specular color of the ground. (Value: (0.9604000449180603, 0.9604000449180603, 0.9604000449180603))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
clip (Type: 1)
-
ground illumination (Type: 1)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
reflection_contrast (Type: 4)
-
roughness (Type: 4)
-
shadow_color (Type: 13)
-
specular (Type: 13)
The Ground material type is a specialised material type for creating a ground for rendered objects. It is a shadow and reflection catching material that blends with the Environment Background. The shadows and reflections will also have transparency when rendering to an image format that supports it.
Simply click Edit and select Add Ground Plane. This will add a ground plane into your KeyShot scene. The ground material can also be applied to imported geometry.
Shadow Color The shadow that is being cast from the object will be displayed in this color. Clicking the color block will allow you to edit the color.
Specular Color Controls the color of the specular light reflections on a material. When the specular color is set to black, a material will have no specular reflections and will not appear reflective or shiny. Specular color set to white will give 100% reflectivity for that material.
Refraction Index This controls the shape of reflected objects on the surface.
Reflection Contrast Controls the contrast for specular reflections. Can be used to enhance reflections on light backgrounds.
Clip geometry below ground If any geometry is being displayed below the ground plane material, this option will clip the geometry below the ground plane, hiding it from the camera.
Ground Illumination When Ground Illumination are on, the rays bounced off the ground will produce indirect lighting.
- SHADER_TYPE: metallic_paint
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- base (PARAMETER_TYPE_COLOR): Base color of the paint. (Value: (0.55, 0.55, 0.55, 1.0))
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- clearcoat (PARAMETER_TYPE_COLOR): Color of the clear coat layer. (Value: (1.0, 1.0, 1.0))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- metal (PARAMETER_TYPE_COLOR): Color of the metallic flakes. (Value: (0.95, 0.95, 0.95))
- metal_coverage (PARAMETER_TYPE_FLOAT): Coverage of the metallic flakes. (Value: 0.2)
- metal_flake_size (PARAMETER_TYPE_FLOAT): Size of the metallic flakes. (Value: 0.0)
- metal_flake_visibility (PARAMETER_TYPE_FLOAT): Visibility of the metallic flakes. (Value: 0.8)
- metal_roughness (PARAMETER_TYPE_FLOAT): Roughness of the metallic flakes. (Value: 0.05)
- metal_samples (PARAMETER_TYPE_INTEGER): Number of samples for the metallic flakes. (Value: 1)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.01)
- thickness multiplier (PARAMETER_TYPE_FLOAT): Multiplier for the thickness of the paint layer. (Value: 1.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
base (Type: 14)
-
bumpmap (Type: 65539)
-
clearcoat (Type: 13)
-
clearcoat bump (Type: 65539)
-
ior (Type: 4)
-
metal (Type: 13)
-
metal_coverage (Type: 4)
-
metal_flake_size (Type: 4)
-
metal_flake_visibility (Type: 4)
-
metal_roughness (Type: 4)
-
metal_samples (Type: 2)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
thickness multiplier (Type: 4)
The Metallic Paint material type simulates a two-layer paint job: a base coat and a clear-coat that provides a clean reflection over the entire material.
Paint Settings Base Color This is the overall color of the material for the base coat of paint.
Metal Color This can be thought of as a coat of metal “flakes” sprayed over the base coat. You can choose a color that is similar to base color to get a subtle metal flake effect, or you can choose a contrasting color to get some interesting results. A white or gray metal color is also commonly used for realistic paints. The metal color in the material will show more in the directly lit or brightly highlighted areas of the surface while the base color will show more in the less illuminated areas.
Metal Coverage This controls the ratio of base color to metal color. When it is set to 0, you will see only the base color. When it is set to 1, the surface will be almost entirely covered in the metal color. For most metallic paint materials, you will want this value set close to 0. A setting of 0.25 is the default and a good starting point.
Metal Roughness This controls the spread of the metal color over the surface. When it is set to a low value, you will see the metal color only in small areas around the highlight areas. When it is set higher, the metal will spread more evenly across the entire surface. A setting of 0.15 is the default and a good starting point.
Metal Flake Size Controls the size of the metal flakes – extremely large values recreate a “bass boat” paint.
Metal Flake Visibility Controls the opacity of the metal flakes, on a scale form 0 – 1.
Samples This will control how imperfect or refined the metal effect in the paint will look. A low setting will result in a more noticeable “flake” effect. A higher setting will smooth out the distribution of the metal effect, and it will have less noise/grain. When seeking a pearl effect, use a higher setting.
Clear-coat Settings The clear-coat settings control the top clear-coat layer. Settings are unit-aware and can have a bump map applied that does not affect the base coat.
Clear-coat Color Sets the color for the clear-coat layer. The lighter the color, the lighter the clear-coat. The default is white (completely clear).
Clear-coat Roughness The metallic paint clear-coat layer, by default, provides perfectly clean reflections. However, if a satin or matte paint effect is desired, the clear-coat roughness value may be increased. This will spread out the reflections on the surface for a matte look.
Clear-coat Refractive Index This slider controls the intensity of the clear-coat. 1.5 is the default and a good starting point. If a more shiny paint is desired, increase the value. Bringing the value down, closer to 1, reduces the clear-coat effect. This can be useful for making a matte finish or simulating plastics that have a metallic flake effect.
Clear-coat Thickness Sets the thickness of the clear-coat. This is set as a thickness multiplier that can be textured. A higher value will darken the clear-coat. This setting can be textured by clicking on the texture icon next to the setting. This will override the value and provide additional settings for the texture type selected.
Clear-coat Bump Right-click on the texture icon to add a texture to the Clear-coat Bump. This will only affect the Clear-coat layer while adding a Bump through the Textures tab will affect both the base and the clear-coat.
- SHADER_TYPE: lux_window_glass
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- transmission (PARAMETER_TYPE_COLOR): Color of transmission through the material. (Value: (0.3, 0.3, 0.3))
- two sided (PARAMETER_TYPE_BOOLEAN): Determines if the material is rendered as two-sided. (Value: True)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
transmission (Type: 13)
-
two sided (Type: 1)
Compared to the Solid Glass material, this material type lacks the roughness and color density settings. However, it adds the two-sided option which is very useful when you have a part that is just a single surface (no thickness) and you want to make it reflective and transparent, but not refractive. This is commonly used for car windshields.
Color This sets the overall color of the glass material. Click the color box to open the Color Picker and select your desired color.
Refractive Index This controls how much light will bend or “refract” as it passes through parts that have this type of material. The default of 1.5 is accurate for simulating most types of glass, but you can increase the value to create a more dramatic refraction within the surface.
Refractive This can enable or disable the refractive property of the material. When enabled, the material will appear refractive. When it is disabled, the material will not be refractive. You will see reflections on the surface and the surface will be transparent, but light will not bend as it passes through the surface. Disabling this option is very useful when you want to see things that lay behind a surface without the distorted effect that results from refraction
Co-planar surfaces If you have parts with co-planar surfaces and transparent materials, Opacity maps or use Part Fade animations or Curve/Color Fade animations to manipulate the opacity, this may result in surface areas that are not rendered as expected where the 2 parts intersect. The workaround is to make sure the parts are not positioned so the surfaces are co-planar, but in stead have a very slight gab between them.
- SHADER_TYPE: lux_real_cloth
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- display_mode (PARAMETER_TYPE_INTEGER): Display mode for the cloth. (Value: 1)
- flyaway_enabled (BOOLEAN): Determines if flyaway fibers are enabled. (Value: False)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- scale (PARAMETER_TYPE_FLOAT): Scale of the cloth weave pattern. (Value: 0.002)
- translucency (PARAMETER_TYPE_FLOAT): Degree of translucency. (Value: 0.0)
- warp_color (PARAMETER_TYPE_COLOR): Color of the warp threads. (Value: (0.0, 0.0, 0.0))
- warp_ior (PARAMETER_TYPE_FLOAT): Index of Refraction for warp threads. (Value: 1.6)
- warp_specular (PARAMETER_TYPE_COLOR): Specular color of the warp threads. (Value: (1.0, 1.0, 1.0))
- weft_color (PARAMETER_TYPE_COLOR): Color of the weft threads. (Value: (0.376, 0.6092, 0.8))
- weft_ior (PARAMETER_TYPE_FLOAT): Index of Refraction for weft threads. (Value: 1.6)
- weft_specular (PARAMETER_TYPE_COLOR): Specular color of the weft threads. (Value: (1.0, 1.0, 1.0))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
display_mode (Type: 2)
-
flip_normals (Type: 1)
-
flyaway_density (Type: 4)
-
flyaway_density_texture (Type: 14)
-
flyaway_enabled (Type: 1)
-
flyaway_length (Type: 4)
-
flyaway_length_variation (Type: 4)
-
flyaway_limit (Type: 4)
-
flyaway_radius (Type: 4)
-
flyaway_randomness (Type: 4)
-
flyaway_saturation (Type: 4)
-
flyaway_yarn_flow (Type: 4)
-
moire_reduction (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
scale (Type: 4)
-
scale_mode (Type: 2)
-
translucency (Type: 4)
-
transparent (Type: 1)
-
uv_angle (Type: 4)
-
uv_distortion (Type: 4)
-
warp_color (Type: 13)
-
warp_color_variation (Type: 4)
-
warp_fiber_density (Type: 4)
-
warp_fiber_detail (Type: 4)
-
warp_ior (Type: 4)
-
warp_ply_count (Type: 2)
-
warp_ply_pitch (Type: 4)
-
warp_roughness (Type: 4)
-
warp_specular (Type: 13)
-
weave_pattern (Type: 19)
-
weft_color (Type: 13)
-
weft_color_variation (Type: 4)
-
weft_fiber_density (Type: 4)
-
weft_fiber_detail (Type: 4)
-
weft_ior (Type: 4)
-
weft_ply_count (Type: 2)
-
weft_ply_pitch (Type: 4)
-
weft_roughness (Type: 4)
-
weft_specular (Type: 13)
The RealClothTM procedural material enables you to create woven fabrics, with your custom weave patterns, detailed down to the ply. And make the cloth appear even more tactile with flyaway fibers.
The warp describes the long threads held under tension during weaving. The weft is the the thread that is passed through the warp threads across the width of the cloth.
Prerequisites and Limitations RealCloth material requires that your geometry has UV coordinates. If your part does not have good UV’s you can try the Unwrap UV tool. The RealCloth material does not support Labels. If used on Cutaway Caps, RealCloth cannot use flyaway fibers. Displacement and flyaway fibers on RealCloth are currently not supported in Render NURBS Mode. Tip For the best result, the UV coordinates should be “in proportion”, in the sense that 1 unit in the U direction matches 1 unit in the V direction.
Consider the UV map as a cut pattern applied to the cloth – any warping in the UV coordinates will appear as stretched fabric.
Edit Weave Pattern (Pro) Click the Edit Weave Pattern button to set up the repeating pattern that will make up your cloth, this will bring out the Pattern Editor. The pattern editor is a KeyShot Pro feature. If you don’t have a Pro license the Edit Weave Pattern button will be disabled, and you won’t be able to edit the pattern.
Pattern Size: This determines how many threads the pattern will span
Warp: The threads that are strung over the loom vertically, and holds the tension during weaving. The warp runs in the longitude of the fabric. In the preview, it is the vertical threads. Weft: This is the thread that you weave between the warp threads, creating your patterns and structure in the weave. In the preview, it is the horizontal threads. Pattern Presets: Here you can select between a number of the most commonly used weave patterns – plain, basket, twill, and satin. Selecting a pattern will set the appropriate number of warp/weft threads and apply the pattern to the preview. The Step value in the pattern names determines how many warp threads the weft crosses on over, before going under the warp again. Pattern preview: Here you can edit the pattern. Each crossing between a warp and weft makes up a cell in the grid, click a cell to switch which of the threads are in front.
Invert Weave Pattern: This will switch all thread crossings around.
Warp Width: This determines the width of the warp threads. The scale goes from 0-1, where 1 means that the threads are as wide as the cells. Tension: Here you set how tightly the warp threads are strung. Shape: Ribbon: The ribbon-shaped thread is highly compressed and flat. Note that if you are using the ribbon shape, Ply Count and Ply Pitch will not be relevant. Round: The round thread is not highly compressed. Weft Width: This determines the width of the weft threads. The scale goes from 0-1, where 1 means that the threads are as wide as the cells. Tension: Here you set how tightly the weft thread is strung while woven through the warp. Shape: Ribbon: The ribbon shaped thread is highly compressed and flat. Note that if you are using the ribbon shape, Ply Count and Ply Pitch will not be relevant. Round: The round thread is not highly compressed. Close/Apply: The changes to the weave pattern won’t be applied instantly. Because calculating the weave pattern may take a some time you have to press apply Apply to see the effect on the cloth in the Real-time View. When you are happy with what you see in the Real-time View you hit Close to hide the dialog.
Appearance Size: this lets you select how you want to control the size of the weave pattern.
Use Units: If you choose to set the size in Units, a slider controlling the Max. Thread Width will appear. With this you can determine the physical size of the threads, which then will be converted the appropriate UV scale. This scaling is recommended if you are using the cloth across multiple parts, which may not have the same UV scaling. Use UV Scale: If you choose this option, the UV scale slider will appear. This determines the width of the pattern in relation to 1 UV-unit. This scaling method is recommended if you are going to animate the object.
Color: This controls the overall color of the material. When light enters the surface, it will take on the color set here. The amount of color that you see in this material is highly dependent on the transparency setting as well.
Roughness: This will add microscopic levels of imperfections to the surface of the material when the values are increased. When set to 0 a material will appear perfectly smooth and polished. When the value is increased, the material will appear rougher as light is diffused across the surface.
Translucency: Increasing translucency will make the curves appear more see-through. Setting this to 0, will make the curves appear perfectly opaque. This setting is only available if you have 3D Ply Geometry applied under Geometry settings.
Geometry Ply Pitch: Pitch is the metric approach to measuring “thread count”. The value determines the distance along the yarn for a single revolution of a ply (measured along the length of the thread, not the length of the twisted strand)
Ply Count: Ply is the number of strands that are twisted around one another to create a single thread
Display: There are three settings here, to control how accurate the cloth representation should be.
Single Sided: Show the front-face of the cloth on both sides of the surface. Two Sided: The front and back side of the geometry will also have a front and back side of the pattern applied. 3D Ply Geometry: The geometry of the object will be modified by the material, creating 3D Curves.
Known Limitation Applying 3D Ply to a geometry with overlapping UVs, will appear to break your geometry. Try using the Unwrap UV tool to avoid this.
Swap front and back: This will change the direction that the front and back of the material is facing. Use this if the flyaway fibers are facing the wrong way.
Transparent Weave: Enable this if you want the gabs between threads to be transparent. Notice that this is not the same as adding translucent qualities to the woven parts.
Flyaway Fibers Add flyaway fibers: When enabled, this will add stray fibers on the cloth surface. The fibers are based on displacement, so they won’t be visible until the the displacement has been executed. Flyaway fibers will follow the direction of the normals.
Flyaway Density: Determines the number of flyaway fibers. The density is calculated in relation to the weave pattern. With a density of 1, you will on average get 1 flyaway fiber per yarn crossing.
Flyaway Radius: Determines how thick the fibers are.
Flyaway Length: Determines how long each fiber is.
Flyaway Length Variation: Adds variation to the length of the fibers. The fibers will be varied up to the selected length + length * variation value.
Flyaway Randomness: by default the flyaway fibers are straight, Adding randomness will warp the fibers.
Flyaway Direction: Determines the angle at which the flyaway fiber comes out of the plies in the yarn. At 0 the fibers will have a 90* angle to the ply, and at 0 the fiber will follow the direction of the ply.
Flyaway Max Curves: Adding large amounts of curves can make the scene very heavy. The amount of curves is impacted by both the density and length variation values. Flyaway Max Curves enable you to limit the overall amount of flyaway curves added pr. part. When the limit is reached, the density of flyaway fibers will be impacted. The limit value is measured in millions and is only approximate. If you don’t want to set a limit just leave the value at 0.
Advanced In this section you will find more advanced settings related to the above settings categories.
Appearance Specular: This is the color and intensity of the reflection of light sources within the scene. Black will completely turn off reflections, while white will provide a very shiny plastic look. To achieve the most realistic look use some level of gray or white. However, adding color can give the material a metallic effect.
Refractive Index: This controls how much light will bend or “refract” as it passes through parts that have this type of material. The default of 1.5 is accurate for simulating most types of plastics, but you can increase the value to create more dramatic refraction within the surface.
Color Variation: Will add variation of the color of the thread within the weave, running along the pattern. When set to 0 the threads will be perfectly uniform in color. Increasing the value will add subtle variations that can help emphasize the pattern and give a more “handcrafted look”.
Geometry Angle: This enables you to change the direction of the weave.
Fiber Detail: This controls how pronounced the fibers appear in the threads. 0 is not at all and increasing the value adds detail.
Anti aliasing: Reduce moire artifacts by adding noise to the image. This may require more samples when rendering.
Execute Geometry Node: After any edits to either Flyaway Fibers or 3D Ply Geometry, you must “execute geometry” before you can see the effect in the Real-time View.
Note Whenever a scene contains un-executed changes to a displacement parameter (eg. flyaways or 3D ply geometry) , you will see the Execute Displaced Geometry button in the top right corner of the Real-time View. Press this to execute the geometry changes.
- SHADER_TYPE: lux_point_light
- color (PARAMETER_TYPE_COLOR): The color of the light. (Value: (1.0, 1.0, 1.0))
- lumen (PARAMETER_TYPE_BOOLEAN): Indicates if lumen measurement is used. (Value: True)
- power (PARAMETER_TYPE_FLOAT): Power of the light in watts. (Value: 5000.0)
- radius (PARAMETER_TYPE_FLOAT): Radius of the light source. (Value: 0.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
color (Type: 13)
-
lumen (Type: 1)
-
power (Type: 4)
-
radius (Type: 4)
Color Here, you can choose the color the light will cast. For accurate lighting colors, use the Kelvin scale to select accurate lighting temperatures.
Power Power determines how strong the light source is. It can be set in Lumen or Watt, where Lumen is recommended for the most accurate result.
Lumen When the Power unit is set to Lumen, then the light output is specified as luminous flux. Total light output will be constant for area light objects of different sizes.
Watt Light output os specified as Radient Flux. This is not electric power.
Radius Adjust the radius to control the softness of shadows cast from this light. A large radius gives soft shadows, while a small radius results in harder shadows with crisply defined, sharp edges.
Note The effect of radius depends on the size of models. Larger models may require a higher radius value for a similar effect.
- SHADER_TYPE: lux_generic
- anisotropic (PARAMETER_TYPE_FLOAT): Degree of anisotropy. (Value: 0.0)
- anisotropic direction (PARAMETER_TYPE_INTEGER): Direction of anisotropy. (Value: 0)
- anisotropic_angle (PARAMETER_TYPE_FLOAT): Angle of anisotropy. (Value: 0.0)
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- base_color (PARAMETER_TYPE_COLORALPHA): Base color of the material. (Value: (0, 0, 0, 1.0))
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- clearcoat (PARAMETER_TYPE_FLOAT): Intensity of clearcoat layer. (Value: 0.0)
- clearcoat_roughness (PARAMETER_TYPE_FLOAT): Roughness of clearcoat layer. (Value: 0.0)
- diffuse_saturation (PARAMETER_TYPE_FLOAT): Saturation of the diffuse color. (Value: 0.0)
- metallic (PARAMETER_TYPE_FLOAT): Metallic property of the material. (Value: 0.0)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- sheen (PARAMETER_TYPE_FLOAT): Intensity of sheen effect. (Value: 0.0)
- sheen_tint (PARAMETER_TYPE_FLOAT): Tint of the sheen effect. (Value: 0.0)
- specular (PARAMETER_TYPE_FLOAT): Specular reflection intensity. (Value: 0.5)
- specular_tint (PARAMETER_TYPE_FLOAT): Tint of the specular reflection. (Value: 0.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
anisotropic (Type: 4)
-
anisotropic direction (Type: 2)
-
anisotropic_angle (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
base_color (Type: 14)
-
bumpmap (Type: 65539)
-
clearcoat (Type: 4)
-
clearcoat_roughness (Type: 4)
-
diffuse_saturation (Type: 4)
-
metallic (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
sheen (Type: 4)
-
sheen_tint (Type: 4)
-
specular (Type: 4)
-
specular_tint (Type: 4)
The Generic material type is based on the Disney BRDF shader. When you use the Material Importer to import materials such as a Unified 3D Material (.u3m) or Substance Painter Project (.sp) their properties will be mapped to the properties of the Generic material. The generic material is intended for PBR materials where texture used files are used to set parameters.The Disney BRDF shader has values going from 0-1. In the Generic material type, we have, for artistic purposes, allowed some of the parameters to have values exceeding this.
Base Color This is the surface color and can be replaced by a texture. Metallic Controls the “metallicness” of the material. Increasing the value will produce a more metallic appearance. Roughness This will add microscopic levels of imperfections to the surface of the material. When set to 0, the material will appear perfectly smooth and polished. When the value is increased, the material will appear rougher as light is diffused across the surface. Specular The value determines the intensity of the reflection of light sources. Specular Tint Determines how much the color the specular reflection gets from the base color. Value between 0-1. At 0, the specular reflection is achromatic. Anisotropic This value determines the amount of anisotropy. Anisotropy (the opposite of isotropy) is the property of being directionally dependent. At 0 the surface will be isotropic and will reflect light evenly. Increasing the Anisotropic value add direction to the reflections. Anisotropic Angle Adjust the angle of the anisotropy. Sheen The perceived shininess at grazing angles on a surface. Increase the value to add sheen to the material. Primarily used for cloth materials. Sheen Tint Determines how much the color the sheen gets from the base color. Value between 0-1. At 0, the sheen is achromatic (doesn’t tint incoming light). Clear-coat Adds a clear coat on top of the material. increasing the value will make the layer more prominent. Clear-coat Roughness Controls the roughness of the clear-coat. A value of 0 will make the surface glossy while increasing the value will give the surface a satin finish. Diffuse Saturation Adjusts the diffuse saturation of the material. Increasing this value can make the material have fluorescent look. Anisotropic Direction UV: the anisotropy follows the UV’s on the object Linear: the anisotropic direction is straight
MaterialGraph MaterialMetadata ShaderEdge ShaderNode ShaderParameter
MaterialGraph encapsulates a graph of material nodes that constitutes a material in the scene, and enables manipulation of material parameters, adding/removing material nodes, and associating them with input and output edges. Get a material graph by using lux.getMaterialGraph(name).
Methods defined here:
eq(self, value, /)
Return self==value.
ge(self, value, /)
Return self>=value.
gt(self, value, /)
Return self>value.
hash(self, /)
Return hash(self).
init(self, /, *args, **kwargs)
Initialize self. See help(type(self)) for accurate signature.
le(self, value, /)
Return self<=value.
lt(self, value, /)
Return self<value.
ne(self, value, /)
Return self!=value.
repr(self, /)
Return repr(self).
str(self, /)
Return str(self).
executeGeometryNodes(...)
Executes any pending geometry nodes related to the material of the graph.
getEdgeFromID(...)
Get edge of material graph specified by edge ID.
id = Edge ID. *
getMaterialName(...)
Get graph's material name.
getMaterialNodes(...)
Get list of material root nodes. For a multi-material, this is the individual sub-material roots. For a regular material, this is a list with a single item that is the same as getRoot().
getNodeFromID(...)
Get node of material graph specified by node ID.
id = Node ID. *
getNodes(...)
Get list of all material nodes of the graph. The edges are considered irrelevant in this function.
getNodesFromType(...)
Get nodes of material graph specified by node type.
type = Node type. See lux.SHADER_TYPE_.. for possibilities. *
getRoot(...)
Get root node of material graph.
newEdge(...)
Create new edge between two nodes for a specific parameter in the material graph.
source = Node ID or lux.ShaderNode instance. *
target = Node ID or lux.ShaderNode instance. *
param = Parameter of target to attach source node to. *
newNode(...)
Create new node in the material graph.
type = Shader node type to create. See lux.SHADER_TYPE_.. for possibilities. *
removeEdge(...)
Remove edge from material graph.
edge = Edge ID or lux.ShaderEdge instance to remove. *
removeNode(...)
Remove node from material graph.
node = Node ID or lux.ShaderNode instance to remove. *
setCurrentSubMaterial(...)
Set sub-material to specified node.
node = Node ID or lux.ShaderNode instance to set. *
setMultiMaterial(...)
Controls multi-material features of material graph. If disabling a multi-material, the current active sub-material will become root of the material and other sub-materials will be removed.
enable = Enable or disable. *
Static methods defined here:
new(*args, **kwargs)
The MaterialMetadata exposes the functionality needed to edit CMF meta data for a material. Changes made to the metadata are only applied to library. Metadata fields of type lux.CMF_KIND_TEXT or lux.CMF_KIND_IMAGE can be edited through this class. A metadata field of the image type may be created or updated with a value containing a path-string to an image. Alternatively an instance of lux.ThumbnailRenderOptions can be passed as a value when creating/updating an image field. This will render a thumbnail for the field. Get a MaterialMetadata instance for a specific material by calling: lux.findMaterialMetadata(<material_name>). Save changes by passing an instance of this class to: lux.saveMaterialMetadata(<metadata_instance>)
Methods defined here: init(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. createField(...) Create a new metadata field for the material. name = A string key for the field to be created. value = New value for field. type = Specifies datatype of the field. Defaults to lux.CMF_KIND_TEXT. Supports lux.CMF_KIND_IMAGE. deleteField(...) Delete metadata field. name = String key for the field. getFieldNames(...) List all keys for the metedata Fields of this material. readField(...) Get value of metadata field. Does not allow reading fields of type lux.CMF_KIND_IMAGEname = name of field updateField(...) Update value of metadata field. name = name of field. value = new value for field. Static methods defined here: new(*args, **kwargs)
ShaderEdge encapsulates a shader edge from a source shader node to a target shader node as part of a material graph. Get a shader edge via a shader node from a material graph instance.
Methods defined here: eq(self, value, /) Return self==value. ge(self, value, /) Return self>=value. gt(self, value, /) Return self>value. hash(self, /) Return hash(self). init(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. le(self, value, /) Return self<=value. lt(self, value, /) Return self<value. ne(self, value, /) Return self!=value. repr(self, /) Return repr(self). str(self, /) Return str(self). getID(...) Get shader edge's ID. getSourceNode(...) Get source node of shader edge. getTargetNode(...) Get target node of shader edge. isEnabled(...) Checks if shader edge is enabled. Static methods defined here: new(*args, **kwargs)
ShaderNode encapsulates a shader node as part of a material graph, and enables manipulation of material parameters. Get a shader node via a material graph instance.
Methods defined here: eq(self, value, /) Return self==value. ge(self, value, /) Return self>=value. gt(self, value, /) Return self>value. hash(self, /) Return hash(self). init(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. le(self, value, /) Return self<=value. lt(self, value, /) Return self<value. ne(self, value, /) Return self!=value. repr(self, /) Return repr(self). str(self, /) Return str(self). getID(...) Get shader node's ID. getInputEdge(...) Get input edge with specified parameter name. parameter = Name of parameter. * getInputEdges(...) Get all input edges to this shader node. getName(...) Get shader node's name. getOutputEdges(...) Get all output edges from this shader node. getParameter(...) Get parameter with specific name of this shader node. name = Name of parameter. * getParameters(...) Get all parameters of this shader node. getType(...) Get shader node's type consisting of a shader type name and human-friendly name. setName(...) Set shader node's name. Static methods defined here: new(*args, **kwargs)
ShaderParameter encapsulates a parameter of a shader node as part of a material graph. Get a shader parameter via a shader node instance.
Methods defined here:
hash(self, /)
Return hash(self).
init(self, /, *args, **kwargs)
Initialize self. See help(type(self)) for accurate signature.
repr(self, /)
Return repr(self).
str(self, /)
Return str(self).
getColor(...)
Get concrete value of shader parameter. Cannot be called on pure parameters.
getDisplayName(...)
Get display name of shader parameter.
getName(...)
Get name of shader parameter.
getType(...)
Get type of shader parameter. All supported types are found as lux.PARAMETER_TYPE_....
getValue(...)
Get concrete value of shader parameter. Cannot be called on pure parameters.
isPure(...)
Checks if shader parameter is pure, i.e. has no concrete value. Pure parameters cannot get/set concrete values on them!
setValue(...)
Set concrete value of shader parameter. Cannot be called on pure parameters.
value = The supported input types depend on the shader parameter type. *
Static methods defined here:
new(*args, **kwargs)
Persist the changes made to the metadata of a material. metadata = The metadata object on which the metadata properties have been updated. * setObjectMaterial(...) Applies a material to an object in the scene. mat = Material name to apply. * obj = Object ID to apply to. * link = Whether to link to the material or create a duplicate. (default = False)
PARAMETER_TYPE_ANIMATIONCURVE = 17 PARAMETER_TYPE_AXALTACOLOR = 18 PARAMETER_TYPE_BOOLEAN = 1 PARAMETER_TYPE_COLOR = 13 PARAMETER_TYPE_COLORALPHA = 14 PARAMETER_TYPE_COLORGRADIENT = 16 PARAMETER_TYPE_DOUBLE = 7 PARAMETER_TYPE_DOUBLE3 = 8 PARAMETER_TYPE_FLOAT = 4 PARAMETER_TYPE_FLOAT2 = 5 PARAMETER_TYPE_FLOAT3 = 6 PARAMETER_TYPE_FLOATARRAY = 15 PARAMETER_TYPE_INTEGER = 2 PARAMETER_TYPE_INTEGERLIST = 3 PARAMETER_TYPE_MATRIX = 12 PARAMETER_TYPE_SHADERBUMP = 65539 PARAMETER_TYPE_SHADERGEOMETRY = 65540 PARAMETER_TYPE_SHADERLABEL = 65538 PARAMETER_TYPE_SHADERSURFACE = 65537 PARAMETER_TYPE_SHADERUV = 65541 PARAMETER_TYPE_STRING = 9 PARAMETER_TYPE_STRINGLIST = 10 PARAMETER_TYPE_WEAVEPATTERN = 19
SHADER_TYPE_ADVANCED = 'lux_advanced' SHADER_TYPE_ANISOTROPIC = 'lux_anisotropic' SHADER_TYPE_AXALTA_PAINT = 'dupont_paint' SHADER_TYPE_BAKED_PLASTIC = 'lux_baked_plastic' SHADER_TYPE_BRUSHED = 'lux_brushed2' SHADER_TYPE_BRUSHED_RADIAL = 'lux_brushed_solid' SHADER_TYPE_BUBBLES = 'lux_bubbles' SHADER_TYPE_BUMP_ADD = 'lux_bumpmap_add' SHADER_TYPE_BUMP_TO_ROUGHNESS = 'lux_bump2roughness' SHADER_TYPE_CAMOUFLAGE = 'lux_camouflage' SHADER_TYPE_CELLULAR = 'lux_worley' SHADER_TYPE_COLOR_ADJUST = 'lux_color_adjust' SHADER_TYPE_COLOR_COMPOSITE = 'lux_color_blend' SHADER_TYPE_COLOR_FADE = 'animation_color' SHADER_TYPE_COLOR_GRADIENT = 'lux_color_gradient' SHADER_TYPE_COLOR_INVERT = 'lux_color_invert' SHADER_TYPE_COLOR_KEY_MASK = 'lux_color_distance' SHADER_TYPE_COLOR_TO_NUMBER = 'convert_rgba_to_float' SHADER_TYPE_CONTOUR = 'lux_contour_tex' SHADER_TYPE_CURVATURE = 'lux_curvature' SHADER_TYPE_CURVE_COLOR_RANDOMIZE = 'lux_curve_randomize' SHADER_TYPE_CURVE_FADE = 'animation_curve' SHADER_TYPE_CUTAWAY = 'lux_cutaway' SHADER_TYPE_DIELECTRIC = 'lux_glass' SHADER_TYPE_DIFFUSE = 'lux_diffuse' SHADER_TYPE_DISPLACE = 'lux_displace' SHADER_TYPE_EMISSIVE = 'lux_emissive' SHADER_TYPE_FIBER_WEAVE = 'lux_carbon' SHADER_TYPE_FLAKES = 'lux_flakes' SHADER_TYPE_FLAT = 'lux_constant' SHADER_TYPE_FUZZ = 'lux_fuzz' SHADER_TYPE_GEM = 'lux_gem' SHADER_TYPE_GENERAL = 'lux_general' SHADER_TYPE_GENERIC = 'lux_generic' SHADER_TYPE_GLASS = 'lux_window_glass' SHADER_TYPE_GLASS_SOLID = 'lux_glass_simple' SHADER_TYPE_GRANITE = 'lux_granite' SHADER_TYPE_GROUND = 'lux_ground' SHADER_TYPE_IES_LIGHT = 'lux_ies_light' SHADER_TYPE_LEATHER = 'lux_leather_tex' SHADER_TYPE_LIQUID = 'lux_liquid' SHADER_TYPE_MAPPING_2D = 'mapping2d' SHADER_TYPE_MAPPING_WARP = 'lux_mapping_warp' SHADER_TYPE_MARBLE = 'lux_marble' SHADER_TYPE_MATCAP = 'matcap' SHADER_TYPE_MEASURED = '__measured' SHADER_TYPE_MESH = 'lux_mesh' SHADER_TYPE_MESH_CIRCULAR = 'lux_lattice_circular' SHADER_TYPE_MESH_LIGHT = 'lux_mesh_light' SHADER_TYPE_MESH_POLYGON = 'lux_lattice_polygon' SHADER_TYPE_METAL = 'lux_metal' SHADER_TYPE_METALLIC_PAINT = 'metallic_paint' SHADER_TYPE_MOLD_TECH_PLASTIC = 'lux_moldtech_plastic' SHADER_TYPE_NOISE_FRACTAL = 'lux_fractal_noise' SHADER_TYPE_NOISE_TEXTURE = 'lux_noise' SHADER_TYPE_OCCLUSION = 'lux_occlusion_tex' SHADER_TYPE_PAINT = 'lux_paint' SHADER_TYPE_PLASTIC = 'lux_plastic_simple' SHADER_TYPE_PLASTIC_CLOUDY = 'lux_cloudy_plastic' SHADER_TYPE_PLASTIC_FIBER = 'lux_textile_fiber' SHADER_TYPE_PLASTIC_TRANSPARENT = 'lux_plastic' SHADER_TYPE_POINT_LIGHT = 'lux_point_light' SHADER_TYPE_RAY_MASK = 'lux_ray_mask' SHADER_TYPE_REALCLOTH = 'lux_real_cloth' SHADER_TYPE_ROUNDED_EDGES = 'lux_rounded' SHADER_TYPE_SCATTERING_MEDIUM = 'lux_scattering_medium' SHADER_TYPE_SCRATCHES = 'lux_scratches_worley' SHADER_TYPE_SPOTLIGHT = 'lux_spotlight' SHADER_TYPE_SPOTS = 'lux_spots' SHADER_TYPE_TEXTURE_MAP = '__texture' SHADER_TYPE_THIN_FILM = 'lux_thinfilm' SHADER_TYPE_TILED_UV = 'lux_tiled_texturemap' SHADER_TYPE_TOON = 'lux_toon' SHADER_TYPE_TRANSLUCENT = 'lux_translucent' SHADER_TYPE_TRANSLUCENT_ADVANCED = 'lux_translucent2' SHADER_TYPE_TRANSLUCENT_MEDIUM = 'lux_translucent_mc' SHADER_TYPE_TRI_PLANAR = 'triplanar' SHADER_TYPE_VELVET = 'lux_velvet' SHADER_TYPE_VERTEX_COLOR = 'lux_vertex_color' SHADER_TYPE_VIDEO_MAP = 'sequence_rgba' SHADER_TYPE_VOLUME_MAP = 'lux_volume' SHADER_TYPE_WEAVE = 'lux_weave2' SHADER_TYPE_WIREFRAME = 'show_wireframe' SHADER_TYPE_WOOD = 'lux_wood' SHADER_TYPE_WOOD_ADVANCED = 'lux_wood2' SHADER_TYPE_XRAY = 'lux_xray'
Material Types bring the power to quickly apply real world, physically accurate material properties to your parts. Each Material Type comes preset with settings to quickly apply or change material with the option to adjust each setting as desired. There are four categories of KeyShot Material Types:
Diffuse Flat Glass Glass (Solid) Liquid Metal Paint Plastic Thin Film Translucent
Advanced Anisotropic Dielectric Gem Generic Measured Metallic Paint Multi-Layer Optics Plastic (Cloudy) Plastic (Transparent) RealCloth Scattering Medium Translucent Medium Velvet Light Sources Area Light Point Light IES Light Spotlight Special Materials Cutaway Emissive Ground Toon Wireframe Xray
Each material has its own set of parameters, which can be adjusted to get the exact appearance you are going for.
Some parameters are the same across the material types.
The Diffuse parameter will be found throughout many of the material types.
The most basic way to think of diffuse when working in KeyShot is a material’s overall color. However, there is a more technical explanation of what this is that can help when creating materials “scattered” or “spread out.”
Diffuse in the rendering world refers to how light reflects off of materials. Depending on the surface of a material, light rays will behave differently when they hit the surface. If a surface has few or no imperfections, like a polished surface, light rays will bounce straight off. This will produce a shiny or reflective surface. If the surface has many imperfections, like concrete, light rays will be scattered across the surface creating a matte look. This is why concrete is not reflective or shiny.
The Specular parameter is another parameter that will be found with many material types.
Specular reflections are reflections that are bounced off a material surface without scattering. Materials appear reflective or shiny when a surface is polished and has few to no imperfections. When the specular color is set to black, a material will have no specular reflections and will not appear reflective or shiny.
Specular color set to white will give 100% reflectivity for that material. Metals do not have diffuse color so any color will be derived entirely from the specular color. The specular color of plastics should be set to a grayscale value.
The specular parameter will control the color and intensity of the specular light reflections on a material.
Refractive Index is a material parameter that is found in multiple KeyShot material types. The term might not be familiar, but refraction is something that is seen every day. A good example is when a person sticks their hand in a pool. The light is bent, or “refracted” and the arm looks broken.
Refraction occurs because light travels through different media at different speeds. This reduction in speed is referred to as a material’s refractive index (or index of refraction) and is represented by a number. For example, water has an index of refraction of 1.33, glass has an index of refraction of 1.5 and diamonds have an index of refraction of 2.4. This means that light travels through water 1.33 times slower than it does through a vacuum. Light travels through glass 1.5 times slower, through diamonds 2.4 times slower and so on. The slower light travels, the more it is bent and distorted.
Refractive indices for different materials can be easily found online. Once the value is found, it may be entered into the Refractive Index property of a material, and will be accurately represented in KeyShot.
Caustics is the pattern of light and color that occur when light rays are refracted or reflected. In everyday life you encounter caustics when you for example place a glass of water on a table.
The Roughness parameter is another setting that will be found on multiple material types in KeyShot.
This is a slider that will add microscopic levels of imperfections to surfaces to create rough materials. The diagram that explains the Diffuse parameter can also help explain why materials appear rough. When roughness is added, light rays are scattered across the surface which causes specular reflections to break up. Due to the additional light scattering, rough materials are more challenging and take more processing power to render than perfectly reflective surfaces.
Since glossy materials with some roughness are more complex to render, KeyShot has a setting built in that can improve the accuracy of these rough materials. This setting is called Samples. This allows you to set how many rays are emitted from a pixel in a rendered image. Each ray collects information from its surrounding environment and returns this information back to the pixel to determine the final appearance. You will see the Samples slider when you click the expand arrow next to the Roughness slider.
Note Interior Mode uses a different and more intelligent approach to samples than the one Product mode uses. The improved approach means that customization of Samples only has effect in Product Mode as it is not necessary in Interior Mode.
If the Roughness parameter has a checkered box next to it, this means a texture can be applied to control the glossy appearance of the surface. When a texture is applied, dark areas of the texture will have a glossy appearance and white areas of the texture will have a matte appearance.
The Material Graph facilitates advanced material editing/creation. The feature is available only for users of KeyShot Pro.
You can access the Material Graph from the Material Tab in the Project window. Click the Material Graph button to launch the Material Graph. It opens in a separate window and displays materials, textures, labels and more as nodes in a graph view to visualize connections and relationships within complex materials.
Nodes are displayed as gray boxes in the Work Area. Each node has different input and output channels (sockets) depending on the type.
All materials have one Root node which is marked with a thicker border (fig. 1). All nodes must be connected to the root node, either directly or through other nodes, to have an effect on the material.
There are four Light Source Material Types that provide different lighting capabilities:
Area Light Diffuse Turn any object into an array of light. View and adjust the position in the real-time window. Control the intensity of the light using Watts or Lumens. See the Area Light page for more details.
Point Light Diffuse Turn any object into a point light. View and adjust the position in the real-time window. Control the intensity either using Power Watts or Lumens. See the Point Light page for more details.
Point Light IES Profile Load an IES profile by clicking on the folder icon in the editor and see the shape of the IES profile load in the material preview and in the form of a mesh in the real-time window. See the IES Light page for more details.
Spotlight Turn any object into a spotlight. View and adjust the position in the real-time window. Control the intensity either using Watts or Lumens. See the Spotlight page for more details.
Lumen When the Power unit is set to Lumen, then the light output is specified as luminous flux. Total light output will be constant for area light objects of different sizes.
Lux When the Power unit is set to Lux, then the light output is specified as luminous emittance. 1 Lux equals 1 Lumen per square meter of light-emitting surface. Total light output will vary for area light objects of different sizes. Small area lights are dim, while large area lights are brighter, since the light-emitting surface area is larger.
Watt Light output os specified as Radient Flux. This is not electric power.
- SHADER_TYPE: lux_anisotropic
- angle (PARAMETER_TYPE_FLOAT): The angle of anisotropy. (Value: 0.0)
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0.3025, 0.3025, 0.3025, 1.0))
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 9)
- mode (PARAMETER_TYPE_INTEGER): The mode of anisotropy. (Value: 1)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness_x (PARAMETER_TYPE_FLOAT): Controls the anisotropic roughness along the x-axis. (Value: 0.05)
- roughness_y (PARAMETER_TYPE_FLOAT): Controls the anisotropic roughness along the y-axis. (Value: 0.01)
- specular (PARAMETER_TYPE_COLOR): Color of specular reflections. (Value: (0.3025, 0.3025, 0.3025))
- transform_obj_to_uv (PARAMETER_TYPE_MATRIX): Transformation matrix from object to UV space. (Value: luxmath.Matrix)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
angle (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 14)
-
glossy_samples (Type: 2)
-
mode (Type: 2)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness_x (Type: 4)
-
roughness_y (Type: 4)
-
specular (Type: 13)
-
transform_obj_to_uv (Type: 12)
The Anisotropic material type gives you advanced control over the highlights on the material surface. On other material types that have a single “Roughness” slider, increasing this value causes the highlights on the surface spread out evenly in all directions. Anisotropic gives you control over the highlight shape by controlling the roughness in two directions with two independent sliders. This material type is often used to simulate a finely brushed metal surface.
Diffuse When trying to create a metal, the diffuse should be set to black. When set to anything other than pure black, this material type will take on more a plastic look.
Specular This is the color and intensity of the reflection of light sources within the scene. Black will be 0 intensity and the material will not be reflective. White will be 100% intensity and will be completely reflective.
Roughness X and Y These sliders control the spread of the highlights on the surface. The X and Y roughness sliders control the highlight spread in independent directions. As you offset the values, the highlights on the surface will stretch out and give a finely brushed effect.
Setting both sliders to the same value will yield reflections that are spread evenly in all directions.
Angle This rotates the stretched highlights that are produced when the roughness x and y values are offset. The value is in degrees and goes from 0 to 360.
Mode This advanced setting controls how the highlights are stretched. There are three unique modes.
Linear (default) which will stretch highlights in a linear way, and is independent of any UV coordinate mapping you may have on the model. Radial mode is an anisotropic method which simulates the effect you might observe on the play side of a CD. Enabling this mode allows you to choose the center point of the radial roughness with the Position Texture button. UV mode is dependent on your UV coordinates. You can use this to manipulate the anisotropic highlights based on the mapping from your modeling software.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy which will give a more imperfect and rough look. As you increase the value the noise will even out more and provide a more evenly distributed roughness.
- SHADER_TYPE: lux_glass
- abbe_number (PARAMETER_TYPE_FLOAT): Abbe number for the material, influencing dispersion. (Value: 0.0)
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- dispersion_samples (PARAMETER_TYPE_INTEGER): Number of samples for calculating dispersion. (Value: 3)
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 9)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- ior_out (PARAMETER_TYPE_FLOAT): Index of Refraction outside the material; affects the bending of light at the material's surface. (Value: 1.0)
- multiple surface scattering (PARAMETER_TYPE_BOOLEAN): Enables or disables multiple surface scattering. (Value: False)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- roughness_transmission (PARAMETER_TYPE_FLOAT): Controls the roughness of transmission. (Value: 0.0)
- thickness (PARAMETER_TYPE_FLOAT): Thickness of the material. (Value: 500.0)
- transmission (PARAMETER_TYPE_COLOR): Color of transmission through the material. (Value: (0.3025, 0.3025, 0.3025))
- transmission_out (PARAMETER_TYPE_COLOR): Color of transmission outside the material. (Value: (1.0, 1.0, 1.0))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
abbe_number (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
dispersion_samples (Type: 2)
-
glossy_samples (Type: 2)
-
ior (Type: 4)
-
ior_out (Type: 4)
-
multiple surface scattering (Type: 1)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
roughness_transmission (Type: 4)
-
thickness (Type: 4)
-
transmission (Type: 13)
-
transmission_out (Type: 13)
The Dielectric material type is a more advanced way to create glass materials. Compared to the Solid Glass Material Type, you will find additional settings for dispersion (Abbe Number) and it can also be used to create an accurate interface between glass and liquid.
Transmission This option controls the overall color of this material type. When light enters the surface it will take on the color set here. The amount of color that you see in this material is highly dependent on the Transparency Distance setting as well. If you have set a color in the transmission, but it looks too faint, try to decrease the Transparency Distance.
Transparency Distance This slider controls the depth of the color selected in the Transmission setting, depending on the thickness of the part to which the material is applied. After setting a color in the Transmission setting, use Transparency Distance to make that color more or less saturated and prominent. A lower setting will show the color more in thin areas of the model, and a high setting will make the color faint in the thin areas.
This physically accurate parameter simulates the effect you can observe by looking at the color of the shallow water at a beach versus the deep blue of a deep ocean. Without this you would see through to the bottom of the deepest ocean as easily as to the bottom of a swimming pool.
Refractive Index This slider controls how much light will bend or refract as it passes through parts on your model that have this type of material. The default of 1.5 is accurate for simulating most types of glass, but you can increase the value to create a more dramatic refraction within the surface.
Transmission Out This option controls the color of the light on the outside of the material. It is an advanced and complex setting, but it is needed when rendering containers with liquid. In the example of a water glass, you will need to have a dedicated surface for where the liquid and glass meet. On this surface, you should set the color of the glass with the transmission out setting and control the color of the liquid with the transmission setting. If the glass and liquid are both clear, set both transmission and transmission out to white.
Refractive Index Outside This slider is an advanced but powerful setting that allows you to accurately simulate the interface between two different refracting materials. The most common use for this is when you are working on a container with liquid inside, like a water glass. In such a scene, you will need a single surface to represent where the glass and water meet. On this surface, you have the liquid on the “inside,” and therefore you should set the refractive index to 1.33. On the “outside,” the glass the refractive index outside should be set to 1.5.
Roughness Roughness on this type of material will spread out highlights on the surface similar to what you see on non-transparent, materials. However, it also spreads out the light that is transmitted through the material. This is used to create a frosted glass look.
Expand this parameter, and you will see a samples setting. This can be used with a low setting to produce a more imperfect/noisy result or a higher value to smooth out the noise/grain for a smoother frosted look.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
Abbe Number (Dispersion) The Abbe number slider controls dispersion of light as it is transmitted through the surface and produces a prismatic effect. This prismatic color effect can be used to create the “fire” effect often desired when rendering gem stones.
A value of zero will disable the dispersion effect entirely. A low value will show heavy dispersion, and as you increase the value, the effect will become more subtle. A setting around 35-55 is a good starting point if a subtle dispersion effect is desired.
Dispersion Samples A low samples setting (8 or lower) will produce a more imperfect/noisy result while a higher value will smooth out the noise/grain and give a smoother look.
Roughness Transmission This will control the roughness of the refractions. The main difference between this parameter and roughness is that the roughness is on the internal portion of the material. This can be used to create a frosted look while still maintaining a shiny surface. The material needs to have some transparency through the specular transmission for the effect to show.
Multiple Surface Scattering This simulates multiple bounces of light on rough dielectric surfaces, before it is scattered back. Multiple scattering enables energy conservation of light interacting with rough dielectrics, which means that it allows you to achieve a more realistic and physically plausible appearance of such materials. With the option disabled, rough dielectric surfaces exhibit single scattering, where light is able to bounce off and scatter from the surface once, but subsequent bounces die out or get absorbed. This discard of multiple bounces causes a loss of light energy, which in turn causes rough dielectric surfaces to appear too dark. With the option enabled, rough dielectric surfaces exihibit physically correct multiple scattering, where multiple light bounces on the surface are respected. No light energy is lost, and surfaces will appear significantly brighter. For the most realistic result, it is best to enable this option, but there is a performance penalty. Multiple Surface Scattering only affects the appearance of Dielectric materials with a roughness greater than 0. The effect is more pronounced at higher roughness values.
- SHADER_TYPE: lux_translucent_mc
- alpha (PARAMETER_TYPE_FLOAT): Transparency of the material. (Value: 1.0)
- apply_bump_to_labels (PARAMETER_TYPE_BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0.3, 0.3, 0.3, 1.0))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- samples (PARAMETER_TYPE_INTEGER): Number of samples used for the material's appearance. (Value: 9)
- specular (PARAMETER_TYPE_COLOR): Color of specular reflections. (Value: (1.0, 1.0, 1.0))
- translucency (PARAMETER_TYPE_FLOAT): Degree of translucency. (Value: 1.0)
- transmission (PARAMETER_TYPE_COLOR): Color of transmission through the material. (Value: (0.2, 0.2, 0.2))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
alpha (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 14)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
samples (Type: 2)
-
specular (Type: 13)
-
translucency (Type: 4)
-
transmission (Type: 13)
The TranslucentMedium material type provides control over subsurface scattering properties that are found in many skin, plastic and other materials. Compared to the basic Translucent material type, this generally will resolve faster.
Surface Color This controls the diffuse color of the outer surface of the material. Consider this the overall color of the material. Something to be aware of with this unique material type is that you will not see the translucent effect of the subsurface color if the surface color is completely black.
Subsurface Color This setting controls the color that light will take on as it passes through the material. Your own skin is a great example of the subsurface scattering effect. When a bright light shines through the thin parts of an ear or the thin skin between fingers, the light is colored by what lies beneath the surface and comes back more red.
While the light is passing through the surface, it is bounced around in many random directions. This creates the soft translucent effect rather than the direct refraction effect of glass and similar materials.
For plastic materials, you will often set this color to something very similar to the surface color, but perhaps a bit brighter.
Translucency This controls how deep light penetrates into and through the surface depending on the units set under Edit > Set Scene Units. The higher your translucency value, the more of the subsurface color you will see coming through the surface. Higher translucency values will also create a softer looking material.
Specular This controls the intensity of the reflections on the surface. This works together with the Refractive Index setting to further increase or decrease the strength of the reflections on the surface.
Roughness Increasing Roughness will spread and distribute reflections over the surface and create a more matte surface.
Refractive Index This controls how much light will bend or refract as it hits and passes through parts that have this type of material. The default of 1.4 is a good starting point, but you can increase the value to create a more dramatic refraction within the surface.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
- SHADER_TYPE: lux_emissive
- alpha (PARAMETER_TYPE_FLOAT): Transparency of the material. (Value: 1.0)
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the emissive material. (Value: (0.3025, 0.3025, 0.3025, 1.0))
- intensity (PARAMETER_TYPE_FLOAT): Intensity of the emissive material. (Value: 1.0)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- twosided (BOOLEAN): Determines if the material is emissive on both sides. (Value: True)
- use_color_map_alpha (BOOLEAN): Uses the alpha channel of the color map for transparency. (Value: True)
- visible in reflections (BOOLEAN): Determines if the material is visible in reflections. (Value: True)
- visible in shadows (BOOLEAN): Determines if the material casts shadows. (Value: True)
- visible to the eye (BOOLEAN): Determines if the material is visible to the camera. (Value: True)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
alpha (Type: 4)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 14)
-
intensity (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
twosided (Type: 1)
-
use_color_map_alpha (Type: 1)
-
visible in reflections (Type: 1)
-
visible in shadows (Type: 1)
-
visible to the eye (Type: 1)
The Emissive material type can be used for small light sources such as LEDs, lamps or even illuminated screen displays. It is not meant to illuminate scenes as a main light source. The emissive material will need “Global illumination” enabled in “lighting” to illuminate other geometry in the Real-time view. It will also need ground illumination to illuminate the ground plane as shown. Color textures can be mapped to the material and any colors included in the texture will be emitted as light. When using emissive materials, it is a good idea to enable “Bloom” in the Image Style settings. This will create the glowing effect shown in the image.
Intensity This will control the intensity of the light that is emitted.
Color This will control the color of the light emitted from the material.
Advanced Visible to Camera Hide the emissive material from the camera, but the emissive material will still emit light.
Visible in Reflections Hide the emissive material from any specular reflections. The effect of the emissive will only be seen on the diffuse component of materials.
Two-Sided This will cause the emissive light to display on both side of the surface.
Use Color Map Alpha This will allow you to use the alpha channel in the color map.
- SHADER_TYPE: lux_plastic
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0.0, 0.0, 0.0, 1.0))
- diffuse_transmission (PARAMETER_TYPE_COLOR): Color transmitted through the material. (Value: (0.0, 0.0, 0.0))
- fresnel (PARAMETER_TYPE_BOOLEAN): Determines if Fresnel reflections are enabled. (Value: True)
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 12)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.4)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- specular (PARAMETER_TYPE_COLOR): Color of specular reflections. (Value: (1.0, 1.0, 1.0))
- specular_transmission (PARAMETER_TYPE_COLOR): Color of specular transmission. (Value: (1.0, 1.0, 1.0))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 14)
-
diffuse_transmission (Type: 13)
-
fresnel (Type: 1)
-
glossy_samples (Type: 2)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
specular (Type: 13)
-
specular_transmission (Type: 13)
The Plastic (Transparent) material provides the basic settings needed to create simple plastic materials. Set the diffuse (overall color) and add some specular (reflections), then adjust the roughness. This is a very versatile material type that is used for anything from concrete to woods.
Diffuse This can be thought of as the overall color of the material. Transparent materials will have little or no diffuse color applied.
Specular This is the color and intensity of the reflection of light sources within the scene. Black will completely turn off reflections, while white will provide a very shiny plastic look. Realistic plastic does not have color in the specular value, so generally you should use some level of gray or white. However, adding color can give the plastic material a metallic effect.
Roughness This will add microscopic levels of imperfections to the surface of the material when the values are increased. When set to 0, a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface.
Samples Within the roughness parameter, you will find a samples setting. A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will smooth out and provide a more evenly distributed roughness.
Diffuse Transmission This will cause additional light to be scattered across the surface of the material which can simulate a translucent effect. It will increase render time, so if it is not needed, the recommendation is to leave it at black.
Specular Transmission This can be thought of as the transparency of the material. Black will be 100% opaque and white will be 100% transparent. If a transparent glass or plastic is being created, the Diffuse Color should be black with all the color derived from this parameter. Transparent glasses or plastics should also have the specular set to white. If a cloudy plastic is desired, the Diffuse Color can be set to a very dark version of the color set here.
Refractive Index This controls how much light will bend or “refract” as it passes through parts on your model that have this type of material. Increase the value to create a more dramatic refraction within the surface.
- SHADER_TYPE: lux_cutaway
- caps (BOOLEAN): Determines if caps are created where the cutaway occurs. (Value: False)
- caps color (PARAMETER_TYPE_COLOR): The color of the caps. (Value: (1.0, 0.0, 0.0))
- caps_inherit_material (BOOLEAN): Determines if the caps inherit the material of the cut surface. (Value: True)
- caps_shader (PARAMETER_TYPE_TEXTURE): Shader used for the caps. (Value: Pure Parameter)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
caps (Type: 1)
-
caps color (Type: 13)
-
caps_inherit_material (Type: 1)
-
caps_shader (Type: 65537)
Setting up the Cutaway Material Simply add the geometry you want to use for the cut, place it so it cuts into your model and assign the cutaway material to it.
Tip You can import simple geometry (sphere, cube etc.) into your scene from the Main Menu > Edit > Add Geometry.
Cap Types No Caps – The cuts will be left open. Inherit Caps – The cuts will be capped with the material of the part that is cut into Color – The cuts will be capped with a solid color. When this option is selected the cap color will be shown – click the color input to set another color. Material – Use another material for the caps. Drag a material from the Library to the material field in the cutaway material properties. Click the material field to edit the material.
Excluded Objects If you only want to cut into some of the parts of your model you can exclude objects from the cutaway. Click the add button and select the nodes you want to exclude. To remove a part from the exclusion select it in the list and click the delete button.
Limitations Opacity maps on cutaway caps are not supported Fade Animations are not supported with cutaway materials Show Caps is intended to be used together with fully closed surfaces (solids). Caps may show artifacts with non-closed geometry. Known Issues Co-planar surfaces: If you have two co-planar parts where one is excluded form the cutaway and you use inherit caps or material caps. Artefacts can occur on the surface of the excluded material. Shadows: Cutaway material may interfere with shadows on the environment ground. If the cutaway object touches the environment ground it will cut that just as it cuts into regular parts. Workaround: Add a ground plane (Edit > Add Geometry > Add Ground Plane) and exclude it from the cutaway. Camera inside cutaway object: When the Camera is inside the cutaway object, Color caps do not show and when using Material caps, all objects in the scene will be displayed with the cap material. Excluded objects: Excluded objects have incorrect reflections – Objects excluded by cutaway show reflections of the inside of the object being cut. Bad Shadows on excluded objects. Basic Glass and Thin Film appear as metal when applied to an excluded cutaway object – Product mode only!
- SHADER_TYPE: lux_liquid
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the material. (Value: (0.3025, 0.3025, 0.3025))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- ior_out (PARAMETER_TYPE_FLOAT): Index of Refraction outside the material; affects the bending of light at the material's surface. (Value: 1.0)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- transmission_out (PARAMETER_TYPE_COLOR): Color of transmission outside the material. (Value: (1.0, 1.0, 1.0))
- transparency (PARAMETER_TYPE_FLOAT): Defines the level of transparency. (Value: 0.01)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 13)
-
ior (Type: 4)
-
ior_out (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
transmission_out (Type: 13)
-
transparency (Type: 4)
The Liquid Material Type is a variant of the Solid Glass material that has the added ability to set the outside refractive index. This allows you to accurately create surfaces that represent the interface between, for example, a glass container and water.
Color This controls the overall color of this material type. When light enters the surface, it will take on the color set here. The amount of color that you see in this material is highly dependent on the transparency setting as well.
Transparency Distance This slider controls the depth of the color selected in the Color setting, depending on the thickness of the part to which the material is applied. After setting a color in the Color setting, use Transparency Distance to make that color more or less saturated and prominent. A lower setting will show the color more in thin areas of the model, and a high setting will make the color faint in the thin areas.
This physically accurate parameter simulates the effect you can observe by looking at the color of the shallow water at a beach versus the deep blue of a deep ocean. Without this you would see through to the bottom of the deepest ocean as easily as to the bottom of a swimming pool.
Refractive Index This controls how much light will bend or “refract” as it passes through parts that have this type of material.
Advanced Color Out This option controls the color of the light on the outside of the material. It is an advanced and complex setting, but it is needed when rendering containers with liquid. In the example of a water glass, you will need to have a dedicated surface for where the liquid and glass meet. On this surface, you should set the color of the glass with the transmission out setting and control the color of the liquid with the transmission setting. If the glass and liquid are both clear, set both transmission and transmission out to white.
Refractive Index Outside This is an advanced, but powerful, setting that allows you to accurately simulate the interface between two different refracting materials. The most common use for this is when you are working on a container with liquid inside, like a water glass. In such a scene you will need a single surface to represent where the glass and water meet. On this surface, you have the liquid on the “inside” and therefore, you should set the refractive index to 1.33. On the “outside,” you have the glass, and you should set the refractive index outside to 1.5.
Liquid interfaces If you want to visualize liquid interfaces, for example like the ice cubes in the glass of water you see in the image above, you can use any material e.g. glass or cloudy plastic to create your liquids. All you have to do is make sure that the liquid and the glass geometry overlap ever so slightly.
- SHADER_TYPE: lux_plastic_simple
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0, 0, 0, 1.0))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- specular (PARAMETER_TYPE_COLOR): Color of specular reflections. (Value: (1.0, 1.0, 1.0))
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 14)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
specular (Type: 13)
The Plastic Material Type provides the basic settings needed to create simple plastic materials. Set the diffuse (overall color) and add some specular (reflections), then adjust the roughness. This is a very versatile material type that is used for anything from concrete to woods.
Diffuse This can be thought of as the overall color of the material. Click the color box to open the Color Picker and select your desired color.
Specular This is the color and intensity of the reflection of light sources within the scene. Black will completely turn off reflections, while white will provide a very shiny plastic look. Realistic plastic does not have color in the specular value, so generally you should use some level of gray or white. However, adding color can give the plastic material a metallic effect.
Roughness This will add microscopic levels of imperfections to the surface of the material when the values are increased. When set to 0 a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface.
Refractive Index This controls how much light will bend or “refract” as it passes through parts that have this type of material. The default of 1.5 is accurate for simulating most types of plastics, but you can increase the value to create a more dramatic refraction within the surface.
- SHADER_TYPE: lux_advanced
- alpha (PARAMETER_TYPE_FLOAT): Transparency of the material. (Value: 1.0)
- ambient (PARAMETER_TYPE_COLOR): Base color of the material. (Value: (0, 0, 0))
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0, 0, 0, 1.0))
- diffuse_transmission (PARAMETER_TYPE_COLOR): Color transmitted through the material. (Value: (0, 0, 0))
- fresnel (PARAMETER_TYPE_BOOLEAN): Determines if Fresnel reflections are enabled. (Value: True)
- glossy (PARAMETER_TYPE_BOOLEAN): Determines if the material has glossy reflections. (Value: True)
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 9)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- specular (PARAMETER_TYPE_COLOR): Color of specular reflections. (Value: (1.0, 1.0, 1.0))
- use_diffuse_map_alpha (PARAMETER_TYPE_BOOLEAN): Uses the alpha channel of the diffuse map for transparency. (Value: False)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
alpha (Type: 4)
-
ambient (Type: 13)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 14)
-
diffuse_transmission (Type: 13)
-
fresnel (Type: 1)
-
glossy (Type: 1)
-
glossy_samples (Type: 2)
-
ior (Type: 4)
-
opacity_mode (Type: 2)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
roughness_transmission (Type: 4)
-
specular (Type: 13)
-
specular_transmission (Type: 13)
-
use_diffuse_map_alpha (Type: 1)
The Advanced material is the most versatile of all KeyShot material types. There are more parameters in this material than in any other. With this variety of parameters, materials such as metals, plastics, transparent or cloudy plastics, glass, leathers and diffuse materials can all be created from this single material type. Material types that cannot be created are translucent materials and metallic paints.
Diffuse This can be thought of as the overall color of the material. Transparent materials will have little or no diffuse. Metals will have no diffuse with all the color derived from the specular. To fully understand this parameter see the section on diffuse.
Specular This is the color and intensity of the reflection of light sources within the scene. Black will be 0% intensity and the material will not be reflective. White will be 100% intensity and will be completely reflective. If a plastic material is being created, the specular color should be gray to reduce reflectivity.
Ambient This will control the color of self shadowing on the material in areas that are not receiving direct light. It can produce unrealistic looks, so it is recommended to keep this set to black unless it is needed.
Roughness This will add microscopic levels of imperfections to the surface of the material when the values are increased. When set to 0, a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface.
Refractive Index This will control the level of refraction on the material.
Diffuse Transmission This will cause additional light to be scattered across the surface of the material, which can simulate a translucent effect. It will increase render time, so if it is not needed, the recommendation is to leave it at black.
Specular Transmission This can be thought of as the transparency of the material. Black will be 100% opaque and white will be 100% transparent. If a transparent glass or plastic is being created, the diffuse should be black with all the color derived from this parameter. Transparent glasses or plastics should also have the specular set to white. If a cloudy plastic is desired, the diffuse can be set to a very dark version of the color set here.
Roughness Transmission This will control the roughness of the refraction. The main difference between this parameter and roughness is that roughness is on the internal portion of the material. This can be used to create a frosted look while still maintaining a shiny surface. The material needs to have some transparency through the specular transmission for the effect to show.
Samples This will control the accuracy of glossy (rough) reflections by increasing the samples that are used.
Fresnel This will control the intensity of the reflections that are perpendicular to the camera. In the real world, materials are more reflective around the edges of objects than they are on areas of objects that are directly facing the viewer or camera. This is enabled by default.
Use Diffuse Map Alpha This option will be available if your material has a Diffuse texture map, with an alpha channel (eg. a .png with transparent areas). When enabled KeyShot will use the diffuse texture to also add opacity to the material. This setting is primarily used with legacy materials. In general we recommend using the Opacity map for transparency.
- SHADER_TYPE: lux_diffuse
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- diffuse (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0, 0, 0, 1.0))
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
diffuse (Type: 14)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
The Diffuse material type is useful for easily creating any kind of matte or non-reflective material. It has only one setting, the diffuse color. Since it is an entirely diffuse material, specular maps are not available.
Color This setting controls the color of the diffuse material. Select the color box to display the Color Picker and select the desired color.
The "Diffuse" material is primarily defined by its color, offering a simple, non-reflective surface ideal for objects needing solid, uniform colors without gloss.
- SHADER_TYPE: lux_cloudy_plastic
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- cloudiness (PARAMETER_TYPE_FLOAT): Degree of cloudiness within the plastic. (Value: 0.1)
- cloudiness color (PARAMETER_TYPE_COLOR): Color of the cloudiness. (Value: (0.5, 0.5, 0.5))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.4)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- samples (PARAMETER_TYPE_INTEGER): Number of samples used for the material's appearance. (Value: 16)
- scattering directionality (PARAMETER_TYPE_FLOAT): Controls the scattering direction. (Value: 0.0)
- transmission (PARAMETER_TYPE_COLOR): Color of transmission through the material. (Value: (0.5, 0.5, 0.5))
- transparency distance (PARAMETER_TYPE_FLOAT): Defines how far light can travel through the material before being completely absorbed. (Value: 500.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
cloudiness (Type: 4)
-
cloudiness color (Type: 13)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
samples (Type: 2)
-
scattering directionality (Type: 4)
-
transmission (Type: 13)
-
transparency distance (Type: 4)
The Plastic (Cloudy) material contains light-scattering particles to replicate complex, scientifically accurate materials such as Polycarbonate or ABS. This material has parameters to control light Transmission, Roughness, Refractive Index, Transparency Distance and Cloudiness. When editing an existing material select Plastic (Cloudy) from the Material Type drop-down.
Transmission This sets the overall light transmission of the cloudy plastic material. A lighter color will allow more transmission. A darker color will provide less transmission. Click the color thumbnail to open the color picker then select your desired color.
Transparency Distance Controls the distance at which the transparency is affected.
Cloudiness This setting affects the overall cloudiness of the plastics. A value of 0 is no cloudiness at all.
Refractive Index This controls how much light will bend or “refract” as it passes through parts that have this type of material. The default of 1.5 is accurate for simulating most types of plastic, but you can increase the value to create a more dramatic refraction within the surface.
Roughness This will add microscopic levels of imperfections to the surface of the material when the values are increased. When set to 0, a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface.
Advanced Cloudiness Color This sets a specific color for the internal cloudiness of the plastic.
Scattering Directionality Controls how the light is scattered. A value of 0 is uniform scattering, a negative value will scatter light backwards, a positive value with scatter light forwards.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
- SHADER_TYPE: lux_ies_light
- color (PARAMETER_TYPE_COLOR): The color of the IES light. (Value: (1.0, 1.0, 1.0))
- file (PARAMETER_TYPE_TEXTURE): File path to the IES profile. (Value: C:/Users/Public/Documents/KeyShot/Textures/IES Profiles/IES Spot Light/keyshot_spot_15.ies)
- length (PARAMETER_TYPE_FLOAT): Length of the IES light source. (Value: 0.0)
- light axis (PARAMETER_TYPE_INTEGER): Axis of the light direction. (Value: 4)
- multiplier (PARAMETER_TYPE_FLOAT): Multiplier to adjust the intensity of the IES profile. (Value: 1.0)
- radius (PARAMETER_TYPE_FLOAT): Radius of the IES light source. (Value: 0.0)
- shape (PARAMETER_TYPE_INTEGER): Shape of the IES light source. (Value: 0)
- width (PARAMETER_TYPE_FLOAT): Width of the IES light source. (Value: 0.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
color (Type: 13)
-
file (Type: 9)
-
length (Type: 4)
-
light axis (Type: 2)
-
multiplier (Type: 4)
-
radius (Type: 4)
-
shape (Type: 2)
-
width (Type: 4)
When using IES Light, you will need to load an IES profile by clicking on the folder icon in the editor. As soon as you load the profile you will see the shape of the IES profile in the material preview. You will also see the shape in form of a mesh in the Real-time View.
File This displays the name and location of the IES profile being used. Click the folder icon to change to a different IES profile.
Color Here, you can choose the color the light will cast. Use the Kelvin scale to select accurate lighting temperatures.
Multiplier Adjust the intensity of the light with this slider.
Note The luminous flux (luminous power of the light) is embedded in the IES file itself as a value in Lumen. The Multiplier adjusts this value. For the most accurate result, the Multiplier should be left at a value of 1. Values between 0 and 1 can be used to simulate the behavior of a dimmer.
Shape You can use the default shape from the IES file or customize the shape by selecting either Spherical or Rectangular in the shape setting for the IES light material.
Spherical, Radius If you select Spherical the beam be round and you can adjust the radius to control the softness of shadows cast from this light. A large radius gives soft shadows, while a small radius results in harder shadows with crisply defined, sharp edges.
Rectangular If you select Rectangular the beam width and length can be controlled
Note The effect of radius depends on the size of models. Larger models may require a higher radius value for a similar effect.
Light Axis Here you can control the axis of your IES Light source.
Tip If you have imported a scene where the axis orientation is different from the one in your light sources, you don’t have to rotate them – just choose the appropriate up-axis.
- SHADER_TYPE: lux_spotlight
- angle (PARAMETER_TYPE_FLOAT): Beam angle of the spotlight. (Value: 60.0)
- color (PARAMETER_TYPE_COLOR): The color of the spotlight. (Value: (1.0, 1.0, 1.0))
- color_stencil_width (PARAMETER_TYPE_FLOAT): Width of the color stencil. (Value: 0.1)
- falloff (PARAMETER_TYPE_FLOAT): Falloff rate of the spotlight's intensity. (Value: 0.1)
- focus_power_in_cone (BOOLEAN): Determines if the spotlight has a focused power in its beam cone. (Value: False)
- lumen (PARAMETER_TYPE_BOOLEAN): Indicates if lumen measurement is used. (Value: True)
- power (PARAMETER_TYPE_FLOAT): Power of the light in watts. (Value: 5000.0)
- radius (PARAMETER_TYPE_FLOAT): Radius of the light source. (Value: 0.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
angle (Type: 4)
-
color (Type: 13)
-
color_stencil_width (Type: 4)
-
falloff (Type: 4)
-
focus_power_in_cone (Type: 1)
-
lumen (Type: 1)
-
power (Type: 4)
-
radius (Type: 4)
Color Here you can set the color of the light. You can also place a stencil texture in front of the light source to control the shape and color of the emitted light – as you see it in real-life gobos.
Color Stencil Diameter If you use a texture on the spotlight, this slider specifies the width of a virtual stencil disc that always fits the Spotlight’s beam exactly.
Tip The stencil diameter is related to the width of the texture. if both are the same width the texture will fit the beam. if the texture is wider than the stencil it will be cropped, while textures that are smaller than the stencil will be repeated.
Power determines how strong the light source is. It can be set in Lumen or Watt, where Lumen is recommended for the most accurate result.
Lumen When the Power unit is set to Lumen, then the light output is specified as luminous flux. Total light output will be constant for area light objects of different sizes.
Watt Light output os specified as Radient Flux. This is not electric power.
Constant Light Output This checkbox does not change the physical behavior or correctness of the Spotlight, but is there for convenience when adjusting Power or Beam Angle, depending on the preferred workflow. This setting allows to switch between constant total light output (checked) and constant illuminance (unchecked) when adjusting the Beam Angle.
Note Illuminance is the luminous power incident on a surface.
Constant Light Output is checked The entered Power value is the luminous flux of the clipped point light, i.e. the light emitted in the beam cone. The power of the Spotlight beam will be identical to the Power value. This also means that total light output with a large or small Beam Angle will be constant. Thus, illuminance will not be constant when changing the Beam Angle. Illuminance with a small Beam Angle will be higher than with a large Beam Angle, since the light is concentrated into a narrower beam.
Constant Light Output is unchecked The entered Power value is the luminous flux of the unclipped point light, i.e. the light ignoring the beam cone. The actual power of the Spotlight beam will be a fraction of the Power value, since the light output is clipped by the beam. Thus, total light output with a large Beam Angle will be higher than with a small Beam Angle. At the same time, illuminance will be constant when changing the Beam Angle.
Beam Angle Sets the angle that determines the size of the beam – the higher the angle the wider the beam.
Falloff Falloff determines the point from where the beam is dimmed toward the edges. The scale reflects the radius of the beam, where 0 is on the outer edge of the beam and 1 is in the center. The higher the number, the softer the transition from light to dark will be.
Radius Adjust the radius to control the softness of shadows cast from this light. A large radius gives soft shadows, while a small radius results in harder shadows with crisply defined, sharp edges. Note, the effect of radius depends on the size of models. Larger models may require a higher radius value for a similar effect.
- SHADER_TYPE: lux_mesh_light
- apply to back of geometry (BOOLEAN): Determines if the light is applied to the back of the geometry. (Value: True)
- apply to front of geometry (BOOLEAN): Determines if the light is applied to the front of the geometry. (Value: True)
- color (PARAMETER_TYPE_COLOR): The color of the light. (Value: (1.0, 1.0, 1.0))
- lumen (PARAMETER_TYPE_FLOAT): Luminous flux of the light in lumens. (Value: 1)
- power (PARAMETER_TYPE_FLOAT): Power of the light in watts. (Value: 5000.0)
- samples (PARAMETER_TYPE_INTEGER): Number of samples used for the light. (Value: 9)
- visible in reflections (BOOLEAN): Determines if the light is visible in reflections. (Value: True)
- visible in shadows (BOOLEAN): Determines if the light casts shadows. (Value: True)
- visible to the eye (BOOLEAN): Determines if the light is visible to the camera. (Value: True)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply to back of geometry (Type: 1)
-
apply to front of geometry (Type: 1)
-
color (Type: 13)
-
lumen (Type: 2)
-
power (Type: 4)
-
samples (Type: 2)
-
visible in reflections (Type: 1)
-
visible in shadows (Type: 1)
-
visible to the eye (Type: 1)
Area Light is a material type that will give you a wide range of light dispersion. This will function similarly to a flood light.
Color Here, you can choose the color the light will cast. You can also place a texture in front of the light source to color and mask the emitted light.
For accurate lighting colors, use the Kelvin scale to select accurate lighting temperatures.
Power The power of the light can be controlled in either Watt, Lumen or Lux. Lumen or Lux are recommended for best results. The choice between Lumen or Lux depends on the preferred workflow.
Lumen When the Power unit is set to Lumen, then the light output is specified as luminous flux. Total light output will be constant for area light objects of different sizes.
The examples below show the effect of increasing the size of a square area light from 10 to 200 mm. Power is a constant 250 Lumen.
Lux When the Power unit is set to Lux, then the light output is specified as luminous emittance. 1 Lux equals 1 Lumen per square meter of light-emitting surface. Total light output will vary for area light objects of different sizes. Small area lights are dim, while large area lights are brighter, since the light-emitting surface area is larger.
Watt Light output os specified as Radient Flux. This is not electric power.
The examples below show the effect of increasing the size of a square area light from 10 to 200 mm. Power is a constant 25000 Lux.
Tip The softness of shadows from an area light is closely related to its size. A large area light produces soft shadows, while a small area light results in harder shadows with crisply defined, sharp edges.
Apply to Geometry There are two checkboxes to make an area light emit from the front, back or both sides of the geometry. Which side of the geometry is interpreted as front or back depends on the orientation of the surface normals.
Toggling these options is most useful for surface geometry without thickness.
Visible to Camera Here, you can toggle whether or not the light source geometry is shown in real-time window and renderings.
Visible in Reflections Here, you can toggle whether or not the reflection of the light source is shown in real-time window and renderings.
Visible in Shadows Here, you can toggle whether or not the light source geometry casts a shadow in the real-time window. Disabling allows light to pass through the area light object. This option is disabled by default so as not to block any other light sources, including HDRI lighting.
With Visible in Shadows checked, the cool area light blocks the warm area light. As a result, the cool area light is the predominant light source in the scene, causing a clear blue cast.
With Visible in Shadows unchecked, light from the warm area light is able to pass through the cool area light. As a result, both area lights are contributing more or less equally to the scene’s lighting. The cool and warm light now blend, causing a warmer cast.
Samples Use this slider to control the amount of samples used in the render.
Limitation ZSpheres transferred from ZBrush are not yet supported as Area Lights.
- SHADER_TYPE: lux_metal
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- coated (PARAMETER_TYPE_BOOLEAN): Determines if the material is coated, affecting its reflective properties. (Value: False)
- color (PARAMETER_TYPE_COLOR): The color of the material. (Value: (0.3025, 0.3025, 0.3025, 1.0))
- film_extinction (PARAMETER_TYPE_FLOAT): Extinction coefficient for thin film interference. (Value: 0.0)
- film_ior (PARAMETER_TYPE_FLOAT): Index of Refraction for thin film interference. (Value: 2.0)
- film_thickness (PARAMETER_TYPE_FLOAT): Thickness of thin film interference. (Value: 100.0)
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 9)
- metal_preset (PARAMETER_TYPE_INTEGER): Preset value for metal type. (Value: 1)
- metal_type (PARAMETER_TYPE_INTEGER): Type of metal, affecting its overall appearance. (Value: 0)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- spectral_ior (PARAMETER_TYPE_ARRAY): Array defining the spectral Index of Refraction. (Value: [])
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
coated (Type: 1)
-
color (Type: 14)
-
film_extinction (Type: 4)
-
film_ior (Type: 4)
-
film_thickness (Type: 4)
-
glossy_samples (Type: 2)
-
metal_preset (Type: 2)
-
metal_type (Type: 2)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
spectral_ior (Type: 15)
The Metal material type is a simple way to create polished or rough looking metal materials. It provides quick color adjustment, metal presets and simple settings for quick creation of metal materials.
Metal Type The Metal material type gives you the option to control the metal by Color or by Measured material preset or by importing a complex IOR file.
Color The Color option provides a quick preset metal appearance with control over Color and Roughness.
Color This setting is visible when Metal Type is set to Color. This controls the color of reflected light on the metal surface. Select the color box to display the Color Picker and select the desired color.
Roughness This adds microscopic levels of imperfections to the surface of the material when the values are increased. When this is set to 0, a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface. You can also add a roughness texture by clicking the texture icon next to the roughness setting. Click the texture thumbnail to view and adjust the texture settings or right-click and select Delete to remove it. Some of the Library materials have a slider icon next to the Roughness setting, in these cases extra adjustment controls have been added for finer tuning of the roughness.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
Measured Metal Presets The Measured option includes 13 scientifically accurate metal presets including Aluminum, Brass, Chromium, Copper, Gold, Iron Magnesium, Nickel, Niobium, Platinum, Silver, Titanium, and Zinc, along with the ability to load Complex IOR files (.ior, .nk, .csv). All metal presets and Custom IOR files provide the additional ability to add an anodized coating with control of Film Refractive Index, Film Extinction Coefficient, and Film Thickness.
Roughness This adds microscopic levels of imperfections to the surface of the material when the values are increased. When this is set to 0, a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
Anodized Anodized settings are available for all metal presets selected from the Metal Type dropdown as well as loaded Complex IOR files. The colors you see when Anodized is enabled are the result of light interfering with itself in the anodized film and can therefore be hard to predict the outcome. However, the following setting descriptions will help you learn better how to control it.
Film Refractive Index The Film Refractive Index setting for anodized metals provides more or less reflection on the surface. Increase the value to get more reflection intensity. The actual film color will be affected by the Refractive Index. However, you can shift the colors with the Film Thickness setting, so typically you will focus only on finding the desired amount of reflection with the Film Refractive Index setting.
Film Extinction Coefficient The Film Refractive Index and Film Extinction Coefficient determines how light reflects and refracts through the thin film on the metal. The Film Extinction Coefficient controls the absorption of light through the film. For small to moderate values, a positive extinction coefficient will darken the color but large values will lead to a bright white metallic reflection. Use an extinction coefficient of 0 for dielectric coatings and use a non-zero extinction coefficient for metallic coatings.
Film Thickness Changing the Film Thickness setting will shift the colors you see for the metal with Anodized enabled. Increasing the setting to a very high value will result in the effect of layers of colored rings on the surface. It is generally a good idea to stay within a range of 100-1000 nm.
Controlling Anodized Color In general, a larger Film Thickness/Refractive Index leads to more colors and an Film Extinction Coefficient will darken colors and dampen variation. For all the metal presets, even if anodized is enabled or not, the color can depend on the viewing angle (just as with the color of real-world metals). You will notice slight color tints at grazing angles, especially for Gold and Aluminum.
- SHADER_TYPE: lux_constant
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the material. (Value: (0, 0, 0, 1.0))
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 14)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
The Flat Material Type is a very simple material type that produces an unshaded, perfectly even color over the entire part to which it is applied.
This material is often used as a black-out material behind car grills or other meshes. It is also useful to create “Clown Pass” areas, which has uniquely colored flat materials applied to the different parts of a model so that these solid colors can be used to easily create selections in an image editing software. See Layers and Passes to automatically create a Clown Pass.
Color Click the color box to launch the Color Picker, which allows you to select the color of the material. The flat material has no shading or other surface properties. It will show the solid color you have selected over the entire part that the material is applied to.
"Flat" material type represents a more basic form, likely focusing on flat, non-reflective surfaces with minimal additional properties beyond basic color and opacity.
- SHADER_TYPE: lux_paint
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the material. (Value: (0.3025, 0.3025, 0.3025, 1.0))
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- samples (PARAMETER_TYPE_INTEGER): Number of samples used for the material's appearance. (Value: 9)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 14)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
samples (Type: 2)
The Paint Material Type is used when a plain, non-metallic paint appearance is desired. It provides a quick way to set a base color and then control the clear-coat on top.
Color Color is your base layer of paint and the overall color of the material. Click the color thumbnail to open the Color Picker and select your desired color.
If you need to match a specific paint you can enter the measured values via the Material Graph as described below.
Roughness This will add microscopic levels of imperfections to the surface of the material when the values are increased. When this is set to 0, a material will appear perfectly smooth and polished. When the value is increased, the material will appear more rough as light is diffused across the surface.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will smooth out and provide a more evenly distributed roughness.
Refractive Index This controls the intensity of the clear-coat. 1.5 is a good general starting point. If a more shiny paint is desired, increase the value. Bringing the value down closer to 1 reduces the clear coat effect. This can be useful for making a matte finish.
Measured Paint Users of KeyShot Pro will have the option of entering the values of a Measured Paint via the Material Graph. You can find the option in the Main Menu of the Material Graph window under Material > New Measured Paint. The option will open a dialog where you can enter the measured values of the material, which then will be converted to a regular Paint material node.
Mode SCI – Specular Component Included, as the name indicates the mode includes the specular as well as the diffused reflected light, which makes it unaffected by surface conditions. This measurement mode is the most widely used in the industry, as it is considered to measure the “true” color. SCE – Specular Component Excluded, as the name indicates, the mode only includes the diffused reflected light, which makes it sensitive to surface conditions e.g. roughness or glossiness. A rough material will not have as much specular reflection as a glossy material. Because of the roughness the light will be scattered and the reflection will be more diffuse. The SCE mode measures only the diffuse reflections, meaning a rough material will appear lighter than the same color with a glossy surface, where most of the reflected light is not included in the measurement. This is actually closer to what the human eye perceives and that is why the SCE measuring mode is mostly used when you want to make sure the color appears the same way as the reference material. Reflectance L* Lightness of the color. L* = 0 yields black and L* = 100 indicates diffuse white – specular white may be higher.
Reflectance a* The color’s position between green and magenta (red). Negative a* values indicate green, while positive values indicate magenta.
Reflectance b* The color’s position between blue and yellow. negative b* values indicate blue and positive values indicate yellow.
Angle of Incidence The angle of the light that hits the object.
Clear-Coat Refractive index This will be translated into the Refractive index on the Paint material
- SHADER_TYPE: lux_multilayer_thinfilm
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the multi-layer optics. (Value: (1.0, 1.0, 1.0))
- color_density (PARAMETER_TYPE_FLOAT): Density of the color layer. (Value: [Value not provided in the snippet])
- dispersion (BOOLEAN): Determines if dispersion is considered. (Value: False)
- ior_out (PARAMETER_TYPE_FLOAT): Index of Refraction outside the material; affects the bending of light at the material's surface. (Value: 1.0)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- specification (PARAMETER_TYPE_DICTIONARY): Specifications for multi-layer optics dielectric materials. (Value: {"Multi-Layer Optics Dielectric ":{"abbe":55.0,"n":1.5},"layers":[{"material":"Multi-Layer Optics Dielectric "}]})
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 13)
-
color_density (Type: 4)
-
dispersion (Type: 1)
-
ior_out (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
specification (Type: 9)
Layer list Lists all layers of the material. Note that the first layer is the “base” layer (substrate).
Add layer You can either add a layer from a file, add a new dielectric layer or add a copy of an already defined layer.
Delete layer This will delete the current layer from the layer list, but the definition will still be available in the Layer Material drop-down.
Layer properties These properties apply to the layer that is highlighted in the Layer list
Layer Thickness Set the thickness of the layer. The thickness of first layer can not be set, as it is the main material (substrate) of the part. Layer material Select the material for the layer. The list contains all the materials you have had in the list, also ones from layers that have been deleted. The next to the material drop-down will delete the specification of the current material and replace all instances. Material Name Here you can edit the name of the material, note that the name will change the name of the material not the layer. Refractive index This slider controls how much light will bend or refract as it passes through the material. The default of 1,5 is accurate for simulating most types of glass. Abbe Number The Abbe number controls dispersion of light as it is transmitted through the surface and produces a prismatic effect. A value of zero will disable the dispersion effect entirely. A low value will show heavy dispersion, and as you increase the value, the effect will become more subtle. A setting around 35-55 is a good starting point if a subtle dispersion effect is desired.
Edit specification Allows you to enter/edit the entire material, including all layers in plain text.
Encrypt Specification If you want to protect the specifications of your material, you can encrypt it. This will hide information about the layers in the material and the material can no longer be edited.
When the material is encrypted you can Clear Specification. This will delete the specification of the the current material and let you start from scratch. Encrypted materials can not be un-encrypted!
Color This option controls the overall color of this material type. When light enters the surface it will take on the color set here.
Transparency Distance This slider controls the depth of the color selected in the Transmission setting, depending on the thickness of the part to which the material is applied. After setting a color in the Transmission setting, use Transparency Distance to make that color more or less saturated and prominent. A lower setting will show the color more in thin areas of the model, and a high setting will make the color faint in the thin areas.
This physically accurate parameter simulates the effect you can observe by looking at the color of the shallow water at a beach versus the deep blue of a deep ocean. Without this you would see through to the bottom of the deepest ocean as easily as to the bottom of a swimming pool.
Refractive Index Outside This slider is an advanced but powerful setting that allows you to accurately simulate the interface between two different refracting materials.
Simulate Substrate Dispersion Enabling this will simulate caustics in the substrate if it is a transparent material.
Refractive Index Refractive Index is a material parameter that is found in multiple KeyShot material types. The term might not be familiar, but refraction is something that is seen every day. A good example is when a person sticks their hand in a pool. The light is bent, or “refracted” and the arm looks broken.
Refraction occurs because light travels through different media at different speeds. This reduction in speed is referred to as a material’s refractive index (or index of refraction) and is represented by a number. For example, water has an index of refraction of 1.33, glass has an index of refraction of 1.5 and diamonds have an index of refraction of 2.4. This means that light travels through water 1.33 times slower than it does through a vacuum. Light travels through glass 1.5 times slower, through diamonds 2.4 times slower and so on. The slower light travels, the more it is bent and distorted.
Refractive indices for different materials can be easily found online. Once the value is found, it may be entered into the Refractive Index property of a material, and will be accurately represented in KeyShot.
Caustics Caustics is the pattern of light and color that occur when light rays are refracted or reflected. In everyday life you encounter caustics when you for example place a glass of water on a table.
Diffuse Flat Glass Glass (Solid) Liquid Metal Paint Plastic Thin Film Translucent
Advanced Anisotropic Dielectric Gem Generic Measured Metallic Paint Multi-Layer Optics Plastic (Cloudy) Plastic (Transparent) RealCloth Scattering Medium Translucent Medium Velvet Light Sources Area Light Point Light IES Light Spotlight Special Materials Cutaway Emissive Ground Toon Wireframe Xray
- SHADER_TYPE: lux_scattering_medium
- albedo (PARAMETER_TYPE_COLOR): The albedo color of the medium. (Value: (0.5, 0.5, 0.5))
- density (PARAMETER_TYPE_FLOAT): Density of the scattering medium. (Value: 1.0)
- multiple_scattering (BOOLEAN): Determines if multiple scattering is calculated. (Value: False)
- samples (PARAMETER_TYPE_INTEGER): Number of samples for the medium. (Value: 16)
- scattering directionality (PARAMETER_TYPE_FLOAT): The g value for Henyey-Greenstein phase function, controls the directionality of scattering. (Value: 0.0)
- transmission (PARAMETER_TYPE_COLOR): The color of the transmitted light through the medium. (Value: (0.3, 0.3, 0.3))
- transparency distance (PARAMETER_TYPE_FLOAT): The distance at which the medium becomes fully transparent. (Value: 1.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
albedo (Type: 13)
-
density (Type: 4)
-
density_multiplier (Type: 13)
-
multiple_scattering (Type: 1)
-
samples (Type: 2)
-
scattering directionality (Type: 4)
-
transmission (Type: 13)
-
transparency distance (Type: 4)
With scattering medium you can simulate particle scattering to create such effects as fog or smoke or volumetric lighting such as visualizing beams or rays of light.
Applying Scattering Medium In the Project window > Material tab, select Scattering Medium from the Type dropdown menu. Textures can be assigned to the Density Texture in the Textures tab. OpenVDB files can be loaded by selecting Volume Map from the Texture dropdown or via the Material Graph and applying it to Density Texture on the Scattering Medium material node.
Adjusting Scattering medium Properties Transmission This option controls the overall color of this material type. When light enters the surface it will take on the color set here. The amount of color that you see in this material is highly dependent on the color density setting as well. If you have set a color in the transmission, but it looks too faint, skip down to the color density section.
Transparency Distance This slider controls the depth of the color selected in the Transmission setting, depending on the thickness of the part to which the material is applied. Use Transparency Distance to make the Transmission color more or less saturated and prominent. A lower setting will show the color more in thin areas of the model, and a high setting will make the color faint in the thin areas.
Density Determines how close the particles are – High Density values will make the scattering medium seem more solid, where a low density value will make it appear more hazy, because the medium gets more thinned out.
Multiple Scattering When checked the rays will bounce multiple times inside the geometry. This will create a more physically correct representation of the material, but it affects the processing time.
Advanced Albedo Albedo is the color of the light scattered by small particles inside the scattering medium. Note, that in media with Multiple Scattering the color of the medium may be the inverse of the albedo color, since the scattering process can prevent light from reaching the observer as it travels through the medium.
Scattering Directionality Controls how the light is scattered. A value of 0 is uniform scattering, a negative value will scatter light backwards, a positive value with scatter light forwards.
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
Textures Density Texture The density texture will act as a sort of mask on the material – where the texture is black, no particles will be shown and the amount of particles will increase where the texture is lighter. To use VDB filed on the density texture, add a Volume Map.
Labels With labels you can add another material onto the surface of the scattering medium. Control the label with the 4 primary Map Types – Diffuse, Specular, Bump and Opacity. – just make sure to add an opacity map when using a label – otherwise you won’t be able to see the scattering medium.
Volume Caustics CPU: Caustics work inherently with volumes (e.g. scattering media), however, caustics will only be applied to light sources outside the volume and this is only supported with interior mode.
GPU: Volume Caustics are not supported in GPU mode.
- SHADER_TYPE: lux_glass_simple
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The color of the material. (Value: (0.3, 0.3, 0.3))
- glossy_samples (PARAMETER_TYPE_INTEGER): Number of samples used for glossy reflections. (Value: 16)
- ior (PARAMETER_TYPE_FLOAT): Index of Refraction; affects the bending of light. (Value: 1.5)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- roughness (PARAMETER_TYPE_FLOAT): Controls the sharpness of reflections. (Value: 0.0)
- transparency (PARAMETER_TYPE_FLOAT): Defines the level of transparency. (Value: 500.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 13)
-
glossy_samples (Type: 2)
-
ior (Type: 4)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
roughness (Type: 4)
-
transparency (Type: 4)
The Glass (Solid) Material Type provides a physically accurate glass material. Unlike the simpler glass material type, you will find that solid glass simulates the effect color in the glass accurately as it takes into account the thickness of your model.
Color This controls the overall color of this material type. When light enters the surface, it will take on the color set here. The amount of color that you see in this material is highly dependent on the transparency setting as well. If you have set a color, but it looks too faint, skip down to the transparency section.
Transparency Distance (Formerly Color Density) This slider controls the depth of the color selected in the Color setting, depending on the thickness of the part to which the material is applied. After setting a color in the Color setting, use Transparency Distance to make that color more or less saturated and prominent. A lower setting will show the color more in thin areas of the model, and a high setting will make the color faint in the thin areas.
This physically accurate parameter simulates the effect you can observe by looking at the color of the shallow water at a beach versus the deep blue of a deep ocean. Without this you would see through to the bottom of the deepest ocean as easily as to the bottom of a swimming pool.
Refractive Index This controls how much light will bend or “refract” as it passes through parts on your model that have this type of material. The default of 1.5 is accurate for simulating most types of glass, but you can increase the value to create a more dramatic refraction within the surface.
Roughness Roughness on this type of material will spread out highlights on the surface similar to what you see on other, non-transparent, materials. However, it also spreads out the light that is transmitted through the material. This is used to create a frosted glass look. Expand this parameter and you will see a samples setting. This can be set to a low value to produce a more imperfect/noisy result or to a higher value to smooth out the noise/grain for a smoother frosted look
Samples A low samples setting (8 or lower) will tend to make the surface look more noisy, which will give a more imperfect and rough look. As you increase the value, the noise will even out more and provide a more evenly distributed roughness.
- SHADER_TYPE: lux_toon
- apply_bump_to_labels (BOOLEAN): Determines if bump maps are applied to labels. (Value: False)
- bumpmap (PARAMETER_TYPE_TEXTURE): Defines the bump map used for the material. (Value: Pure Parameter)
- color (PARAMETER_TYPE_COLOR): The main color of the material. (Value: (0.3, 0.3, 0.3, 1.0))
- contour angle (PARAMETER_TYPE_FLOAT): Angle of the contour effect. (Value: 60.0)
- contour color (PARAMETER_TYPE_COLOR): Color of the contour lines. (Value: (0.0, 0.0, 0.0))
- contour quality (PARAMETER_TYPE_INTEGER): Quality of the contour lines. (Value: 1)
- contour width (PARAMETER_TYPE_FLOAT): Width of the contour lines. (Value: 0.5)
- contour width is in pixels (BOOLEAN): Determines if contour width is measured in pixels. (Value: True)
- environment shadows (BOOLEAN): Determines if environment shadows are calculated. (Value: False)
- interior edge contour (BOOLEAN): Determines if interior edges have contour lines. (Value: True)
- light source shadows (BOOLEAN): Determines if light source shadows are calculated. (Value: False)
- material contour (BOOLEAN): Determines if materials have contour lines. (Value: True)
- opacitymap (PARAMETER_TYPE_TEXTURE): Defines the material's opacity. (Value: Pure Parameter)
- opacitymap_mode (PARAMETER_TYPE_INTEGER): Mode for opacity map. (Value: 2)
- outline contour (BOOLEAN): Determines if an outline contour is added. (Value: True)
- outline width multiplier (PARAMETER_TYPE_FLOAT): Multiplier for the width of the outline contour. (Value: 1.0)
- part contour (BOOLEAN): Determines if parts have contour lines. (Value: False)
- part width multiplier (PARAMETER_TYPE_FLOAT): Multiplier for the width of part contours. (Value: 1.0)
- shadow color (PARAMETER_TYPE_COLOR): Color of the shadows. (Value: (0.0, 0.0, 0.0))
- shadow multiplier (PARAMETER_TYPE_FLOAT): Multiplier for shadow darkness. (Value: 1.0)
- shadow strength (PARAMETER_TYPE_FLOAT): Strength of shadows. (Value: 0.25)
- transparency (PARAMETER_TYPE_FLOAT): Level of transparency. (Value: 0.0)
-
geometry (Type: 65540)
-
labels (Type: 65538)
-
surface (Type: 65537)
-
apply_bump_to_labels (Type: 1)
-
bumpmap (Type: 65539)
-
color (Type: 14)
-
contour angle (Type: 4)
-
contour color (Type: 13)
-
contour quality (Type: 2)
-
contour width (Type: 4)
-
contour width is in pixels (Type: 1)
-
environment shadows (Type: 1)
-
interior edge contour (Type: 1)
-
light source shadows (Type: 1)
-
material contour (Type: 1)
-
opacitymap (Type: 14)
-
opacitymap_mode (Type: 2)
-
outline contour (Type: 1)
-
outline width multiplier (Type: 4)
-
part contour (Type: 1)
-
part width multiplier (Type: 4)
-
shadow color (Type: 13)
-
shadow multiplier (Type: 4)
-
shadow strength (Type: 4)
-
transparency (Type: 4)
The Toon material type allows you to apply a solid color with contour lines to your 3D model. You are able to control the contour width, the number of contour lines, and whether or not shadows are cast onto surfaces. This is useful for creating sketches, product concepts, or technical illustrations. The Toon material type contains the following properties:
Color This will control the fill color of the Toon material.
Contour Color This will control the outline of the model.
Shadow Color This controls the color of the shadows on the model. Activated when the Environment Shadows under Advanced settings setting is enabled. A texture may be applied to control the appearance of the shadow.
Contour Width
This will control how thin or how thick your contour lines will be.
Outline Width Multiplier Increase this value to create a “perimeter line” effect with your Toon material. This will help pop the part from your scene and create a stronger visual contrast.
Part Width Multiplier Use this to increase the line width of part contours and interior edge contours. It will not affect the scene unless Part Contour is enabled.
Contour Angle This will control the number of interior contour lines in the toon sketch. The value determines the angle of the curvature where contour lines will appear. A lower value will increase the number of interior contour lines and a higher value will decrease the number of interior contour lines.
Shadow Strength When the Environment Shadows or Light Source Shadows setting is enabled, this controls the strength of each shadow type cast onto the Toon material.
Transparency Increasing this value will allow light to pass through the geometry. Use this feature on transparent parts, or to show interior views of your model.
Advanced Contour Quality This will control the quality of the contour lines. Use a lower value to obtain a rough sketch look, or a higher value for a more clean and precise stroke.
Contour width is in pixels When enabled, the contour lines are defined using pixels. When this setting is disabled, the contour lines are defined using scene units.
Interior Edge Contour This will show or hide the interior contour lines in your sketch.
Material Contour This will allow you to show or hide the contour line that separates each unlinked Toon material. If the Toon materials are linked, this setting will not have an effect.
Environment Shadows This will reveal the shadows cast by the model onto itself due to the selected lighting environment.
Light Source Shadows Controls the visibility of shadows produced by a Light Source (Spotlight Diffuse, Point Light Diffuse, Point Light IES Profile, or Area Light Diffuse). The shadow appearance will change depending on the settings of your light source.
- density (Type: 4)
- density_texture (Type: 13)
- flake_limit (Type: 4)
- seed (Type: 2)
- size (Type: 4)
- size_variation (Type: 4)
- density (Type: 4)
- density_texture (Type: 13)
- flake_limit (Type: 4)
- flake_shape (Type: 2)
- flake_uv (Type: 1)
- flakes_only (Type: 1)
- seed (Type: 2)
- size (Type: 4)
- size_variation (Type: 4)
- surface (Type: 65537)
- vertex_colors (Type: 1)
- color (Type: 13)
- density (Type: 4)
- density_texture (Type: 14)
- direction_texture (Type: 65539)
- flip_normals (Type: 1)
- geometry_mode (Type: 2)
- ior (Type: 4)
- length (Type: 4)
- length_texture (Type: 14)
- length_variation (Type: 4)
- limit (Type: 4)
- radius (Type: 4)
- randomness (Type: 4)
- roughness (Type: 4)
- segments (Type: 4)
- specular (Type: 13)
- surface (Type: 65537)
- transmission roughness (Type: 4)
- transmission spread (Type: 4)
- displace (Type: 14)
- displacement height (Type: 4)
- max triangles (millions) (Type: 4)
- offset (Type: 4)
- resolution (Type: 4)
- resolution in pixels (Type: 1)
- blend_color (Type: 1)
- brightness (Type: 4)
- bump_height (Type: 4)
- contrast (Type: 4)
- default_color (Type: 13)
- normal (Type: 1)
- sync (Type: 1)
- texture (Type: 9)
- texture_space (Type: 2)
- texture_use_profile (Type: 1)
- transform_obj_to_uv (Type: 12)
- uv_angle (Type: 4)
- uv_camera_map_locked (Type: 1)
- uv_depth (Type: 4)
- uv_diameter (Type: 4)
- uv_flip_u (Type: 1)
- uv_flip_v (Type: 1)
- uv_lock_aspect (Type: 1)
- uv_mapping (Type: 2)
- uv_repeat_u (Type: 1)
- uv_repeat_v (Type: 1)
- uv_scale_mode (Type: 2)
- uv_scale_u (Type: 4)
- uv_scale_v (Type: 4)
- uv_shader (Type: 65541)
- uv_shift_u (Type: 4)
- uv_shift_v (Type: 4)
- uv_two_sided (Type: 1)
- bias (Type: 4)
- bump_height (Type: 4)
- filter (Type: 2)
- gain (Type: 4)
- gamma (Type: 4)
- normal_map (Type: 1)
- textures (Type: 10)
- textures_use_profile (Type: 1)
- tile_u (Type: 3)
- tile_v (Type: 3)
- angleX (Type: 4)
- angleY (Type: 4)
- angleZ (Type: 4)
- blend (Type: 4)
- blend_color (Type: 1)
- brightness (Type: 4)
- bump_height (Type: 4)
- contrast (Type: 4)
- default_color (Type: 13)
- flagsX (Type: 2)
- flagsY (Type: 2)
- flagsZ (Type: 2)
- normalX (Type: 1)
- normalY (Type: 1)
- normalZ (Type: 1)
- sync (Type: 1)
- textureUseProfileX (Type: 1)
- textureUseProfileY (Type: 1)
- textureUseProfileZ (Type: 1)
- textureX (Type: 9)
- textureY (Type: 9)
- textureZ (Type: 9)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- uScaleX (Type: 4)
- uScaleY (Type: 4)
- uScaleZ (Type: 4)
- vScaleX (Type: 4)
- vScaleY (Type: 4)
- vScaleZ (Type: 4)
- blend_color (Type: 1)
- blend_frames (Type: 1)
- brightness (Type: 4)
- bump_height (Type: 4)
- contrast (Type: 4)
- default_color (Type: 13)
- duration (Type: 4)
- ease_mode (Type: 2)
- folder (Type: 9)
- fps (Type: 4)
- frames (Type: 10)
- index (Type: 2)
- name (Type: 9)
- normal (Type: 1)
- playback_mode (Type: 2)
- repeat_count (Type: 2)
- start_time (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- texture_use_profile (Type: 1)
- transform_obj_to_uv (Type: 12)
- uv_angle (Type: 4)
- uv_camera_map_locked (Type: 1)
- uv_depth (Type: 4)
- uv_diameter (Type: 4)
- uv_flip_u (Type: 1)
- uv_flip_v (Type: 1)
- uv_lock_aspect (Type: 1)
- uv_mapping (Type: 2)
- uv_repeat_u (Type: 1)
- uv_repeat_v (Type: 1)
- uv_scale_mode (Type: 2)
- uv_scale_u (Type: 4)
- uv_scale_v (Type: 4)
- uv_shader (Type: 65541)
- uv_shift_u (Type: 4)
- uv_shift_v (Type: 4)
- uv_two_sided (Type: 1)
- bump_height (Type: 4)
- color_1 (Type: 13)
- color_2 (Type: 13)
- contrast (Type: 4)
- distortion (Type: 4)
- grain (Type: 4)
- grain_size (Type: 4)
- length (Type: 4)
- levels (Type: 2)
- levels_falloff (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- uv_angle (Type: 4)
- uv_camera_map_locked (Type: 1)
- uv_depth (Type: 4)
- uv_diameter (Type: 4)
- uv_flags (Type: 2)
- uv_flip_u (Type: 1)
- uv_flip_v (Type: 1)
- uv_lock_aspect (Type: 1)
- uv_mapping (Type: 2)
- uv_projection (Type: 2)
- uv_scale_mode (Type: 2)
- uv_scale_u (Type: 4)
- uv_scale_v (Type: 4)
- uv_shader (Type: 65541)
- uv_shear_u (Type: 4)
- uv_shear_v (Type: 4)
- uv_shift_u (Type: 4)
- uv_shift_v (Type: 4)
- uv_two_sided (Type: 1)
- alpha_mode (Type: 2)
- background (Type: 13)
- blend_outline (Type: 1)
- bump_height (Type: 4)
- color (Type: 13)
- distance_u (Type: 4)
- distance_v (Type: 4)
- distortion (Type: 4)
- distortion_scale (Type: 4)
- falloff (Type: 4)
- jitter (Type: 4)
- mesh (Type: 2)
- outline_color (Type: 13)
- outline_size (Type: 4)
- shape (Type: 2)
- shape_angle (Type: 4)
- shape_height (Type: 4)
- shape_width (Type: 4)
- shift (Type: 4)
- show_outline (Type: 1)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- uv_angle (Type: 4)
- uv_camera_map_locked (Type: 1)
- uv_clip_u (Type: 1)
- uv_clip_v (Type: 1)
- uv_depth (Type: 4)
- uv_diameter (Type: 4)
- uv_flags (Type: 2)
- uv_flip_u (Type: 1)
- uv_flip_v (Type: 1)
- uv_lock_aspect (Type: 1)
- uv_mapping (Type: 2)
- uv_projection (Type: 2)
- uv_scale_mode (Type: 2)
- uv_scale_u (Type: 4)
- uv_scale_v (Type: 4)
- uv_shader (Type: 65541)
- uv_shear_u (Type: 4)
- uv_shear_v (Type: 4)
- uv_shift_u (Type: 4)
- uv_shift_v (Type: 4)
- uv_two_sided (Type: 1)
- bump_height (Type: 4)
- color_variation (Type: 4)
- fibers (Type: 4)
- gap_color (Type: 13)
- grain (Type: 4)
- shape (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- thread_shadows (Type: 1)
- transform_obj_to_uv (Type: 12)
- uv_angle (Type: 4)
- uv_camera_map_locked (Type: 1)
- uv_depth (Type: 4)
- uv_diameter (Type: 4)
- uv_flags (Type: 2)
- uv_flip_u (Type: 1)
- uv_flip_v (Type: 1)
- uv_lock_aspect (Type: 1)
- uv_mapping (Type: 2)
- uv_projection (Type: 2)
- uv_scale_mode (Type: 2)
- uv_scale_u (Type: 4)
- uv_scale_v (Type: 4)
- uv_shader (Type: 65541)
- uv_shear_u (Type: 4)
- uv_shear_v (Type: 4)
- uv_shift_u (Type: 4)
- uv_shift_v (Type: 4)
- uv_two_sided (Type: 1)
- warp_color (Type: 13)
- warp_width (Type: 4)
- weave_distortion (Type: 4)
- weft_color (Type: 13)
- weft_width (Type: 4)
- width_variation (Type: 4)
- background (Type: 14)
- brush (Type: 4096)
- bump_height (Type: 4)
- color (Type: 14)
- resolution (Type: 20)
- surface (Type: 2)
- angular_noise (Type: 4)
- bump_height (Type: 4)
- color_1 (Type: 13)
- color_2 (Type: 13)
- crossover (Type: 4)
- distortion_noise (Type: 4)
- distortion_noise_scale (Type: 4)
- limit_radius (Type: 1)
- radius (Type: 4)
- radius_falloff (Type: 4)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- bump_height (Type: 4)
- color_1 (Type: 13)
- color_2 (Type: 13)
- color_3 (Type: 13)
- color_4 (Type: 13)
- color_balance (Type: 4)
- distortion (Type: 4)
- distortion_scale (Type: 4)
- mix_colors (Type: 1)
- scale (Type: 4)
- spray (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- bump_height (Type: 4)
- cell_type (Type: 2)
- color_1 (Type: 13)
- color_2 (Type: 13)
- contrast (Type: 4)
- high (Type: 4)
- level_scale (Type: 4)
- levels (Type: 2)
- low (Type: 4)
- noise (Type: 4)
- noise_scale (Type: 4)
- scale (Type: 4)
- shape_1 (Type: 4)
- shape_2 (Type: 4)
- shape_3 (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- angle (Type: 4)
- blend (Type: 1)
- gradient (Type: 16)
- gradient_type (Type: 2)
- invert (Type: 1)
- map (Type: 4)
- repeat (Type: 1)
- scale (Type: 4)
- shift (Type: 4)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- angle (Type: 4)
- background (Type: 13)
- color (Type: 13)
- contour quality (Type: 2)
- contour width (Type: 4)
- interior edge contour (Type: 1)
- material contour (Type: 1)
- outline contour (Type: 1)
- outline width multiplier (Type: 4)
- part contour (Type: 1)
- part width multiplier (Type: 4)
- radius_map (Type: 14)
- sync (Type: 1)
- use_pixels (Type: 1)
- adaptive_radius (Type: 1)
- cutoff (Type: 4)
- negative_curvature (Type: 13)
- positive_curvature (Type: 13)
- radius (Type: 4)
- radius_map (Type: 4)
- sample_same_material_only (Type: 1)
- samples (Type: 2)
- sync (Type: 1)
- zero_curvature (Type: 13)
- bump_height (Type: 4)
- color (Type: 13)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- bump_height (Type: 4)
- color1 (Type: 13)
- color2 (Type: 13)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- bump_height (Type: 4)
- color1 (Type: 13)
- color2 (Type: 13)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- vein_noise (Type: 4)
- vein_noise_scale (Type: 4)
- vein_thickness (Type: 4)
- bump_height (Type: 4)
- color1 (Type: 13)
- color2 (Type: 13)
- fall-off (Type: 4)
- levels (Type: 2)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- bump_height (Type: 4)
- color1 (Type: 13)
- color2 (Type: 13)
- magnitude (Type: 4)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- bias_x (Type: 4)
- bias_y (Type: 4)
- bias_z (Type: 4)
- falloff (Type: 4)
- falloff_map (Type: 4)
- fast (Type: 1)
- inside (Type: 1)
- normal (Type: 4)
- occluded (Type: 13)
- radius (Type: 4)
- radius_map (Type: 4)
- sample_same_material_only (Type: 1)
- samples (Type: 2)
- sync (Type: 1)
- unoccluded (Type: 13)
- bump_height (Type: 4)
- density (Type: 4)
- direction_field (Type: 2)
- directional_noise (Type: 4)
- falloff (Type: 4)
- inside_color (Type: 13)
- level_scale (Type: 4)
- levels (Type: 2)
- noise (Type: 4)
- noise_scale (Type: 4)
- outside_color (Type: 13)
- scale (Type: 4)
- size (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- thinness (Type: 4)
- transform_obj_to_uv (Type: 12)
- bump_height (Type: 4)
- cell_type (Type: 2)
- density (Type: 4)
- distortion (Type: 4)
- distortion_scale (Type: 4)
- falloff (Type: 4)
- inside_color (Type: 13)
- intensity_multiplier (Type: 4)
- invert (Type: 1)
- level_scale (Type: 4)
- levels (Type: 2)
- outside_color (Type: 13)
- radius (Type: 4)
- scale (Type: 4)
- seed (Type: 2)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- default color (Type: 13)
- multiplier (Type: 13)
- scale (Type: 4)
- texture (Type: 9)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- axial noise (Type: 4)
- bump_height (Type: 4)
- color noise (Type: 4)
- color1 (Type: 13)
- color2 (Type: 13)
- ring noise (Type: 4)
- ring width (Type: 4)
- scale (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- axial_graininess (Type: 4)
- axial_noise (Type: 4)
- branch_scale (Type: 4)
- color_noise (Type: 4)
- fall (Type: 13)
- grain_bump_height (Type: 4)
- grain_color_bleed (Type: 4)
- grain_scale (Type: 4)
- grain_thinness (Type: 4)
- knot_age (Type: 4)
- knot_border (Type: 13)
- knot_border_size (Type: 4)
- knot_color (Type: 13)
- knot_density (Type: 4)
- knot_distortion (Type: 4)
- ring_bump_height (Type: 4)
- ring_graininess (Type: 4)
- ring_noise (Type: 4)
- ring_spacing_variation (Type: 4)
- ring_width (Type: 4)
- ring_width_variation (Type: 4)
- scale (Type: 4)
- seasonal_color_noise (Type: 4)
- seed (Type: 2)
- spring (Type: 13)
- summer (Type: 13)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- winter (Type: 13)
- blend (Type: 1)
- duration (Type: 4)
- ease_mode (Type: 2)
- folder (Type: 9)
- gradient (Type: 16)
- index (Type: 2)
- name (Type: 9)
- start_time (Type: 4)
- animation_curve (Type: 17)
- duration (Type: 4)
- ease_mode (Type: 2)
- folder (Type: 9)
- index (Type: 2)
- name (Type: 9)
- start_time (Type: 4)
- bump_1 (Type: 65539)
- bump_2 (Type: 65539)
- ratio (Type: 4)
- weight_1 (Type: 4)
- weight_2 (Type: 4)
- color (Type: 14)
- colorize (Type: 13)
- contrast (Type: 4)
- hue (Type: 4)
- saturation (Type: 4)
- value (Type: 4)
- alpha (Type: 4)
- background (Type: 14)
- background_alpha (Type: 4)
- blend_mode (Type: 2)
- clip_using_source (Type: 1)
- clipping_mask (Type: 14)
- invert_mask (Type: 1)
- mask_mode (Type: 2)
- source (Type: 14)
- source_alpha (Type: 4)
- source (Type: 14)
- color_key (Type: 13)
- fuzziness (Type: 4)
- invert (Type: 1)
- source (Type: 13)
- threshold (Type: 4)
- input (Type: 14)
- input_from (Type: 4)
- input_to (Type: 4)
- mode (Type: 2)
- output_from (Type: 4)
- output_to (Type: 4)
- smooth (Type: 1)
- hue (Type: 4)
- map (Type: 14)
- saturation (Type: 4)
- value (Type: 4)
- sync (Type: 1)
- texture_space (Type: 2)
- transform_obj_to_uv (Type: 12)
- uv_angle (Type: 4)
- uv_camera_map_locked (Type: 1)
- uv_depth (Type: 4)
- uv_diameter (Type: 4)
- uv_flags (Type: 2)
- uv_flip_u (Type: 1)
- uv_flip_v (Type: 1)
- uv_lock_aspect (Type: 1)
- uv_mapping (Type: 2)
- uv_projection (Type: 2)
- uv_scale_mode (Type: 2)
- uv_scale_u (Type: 4)
- uv_scale_v (Type: 4)
- uv_shader (Type: 65541)
- uv_shear_u (Type: 4)
- uv_shear_v (Type: 4)
- uv_shift_u (Type: 4)
- uv_shift_v (Type: 4)
- uv_two_sided (Type: 1)
- map (Type: 13)
- opacity (Type: 4)
- show_back (Type: 1)
- show_front (Type: 1)
- visible_camera (Type: 1)
- visible_reflect (Type: 1)
- visible_shadow (Type: 1)