Datasets:

ArXiv:
License:
Fisher-Wang's picture
[release] materials
ae81f33
raw
history blame
59.3 kB
/******************************************************************************
* Copyright 2024 NVIDIA Corporation. All rights reserved. *
******************************************************************************
Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,
to any person obtaining a copy of the sample definition code that uses our
Material Definition Language (the "MDL Materials"), to reproduce and distribute
the MDL Materials, including without limitation the rights to use, copy, merge,
publish, distribute, and sell modified and unmodified copies of the MDL
Materials, and to permit persons to whom the MDL Materials is furnished to do
so, in all cases solely for use with NVIDIA's Material Definition Language,
subject to the following further conditions:
1. The above copyright notices, this list of conditions, and the disclaimer
that follows shall be retained in all copies of one or more of the MDL
Materials, including in any software with which the MDL Materials are bundled,
redistributed, and/or sold, and included either as stand-alone text files,
human-readable headers or in the appropriate machine-readable metadata fields
within text or binary files as long as those fields can be easily viewed by the
user, as applicable.
2. The name of NVIDIA shall not be used to promote, endorse or advertise any
Modified Version without specific prior written permission, except a) to comply
with the notice requirements otherwise contained herein; or b) to acknowledge
the contribution(s) of NVIDIA.
THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.
*/
mdl 1.6;
import ::df::*;
import ::math::*;
import ::anno::*;
import ::state::*;
import ::base::*;
import ::tex::*;
import ::nvidia::core_definitions::dimension;
import ::nvidia::core_definitions::blend_colors;
const string COPYRIGHT =
" Copyright 2024 NVIDIA Corporation. All rights reserved.\n"
" MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
" WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
" THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
" COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
" CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
" GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
" AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
" INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
::base::texture_coordinate_info transform_coordinate_2(
float4x4 transform
[[ ::anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]],
::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info()
[[ ::anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]]
) [[
::anno::description("Transform a texture coordinate by a matrix.") ,
::anno::noinline()
]]
{
// Version 2
float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1);
//Try aproximating it for the case that the rotation is only aroud z and assuming the texture layout is nice and z is ~constant.
//just pretend there is no other rotation happening
//get rid of scaling and translation. Then extract fields where sin and cos would be in a simple 2d transform around z.
float4 u = transform[0];
float3 ru = ::math::normalize(float3(u.x,u.y,u.z));
float cos = ru.x;
float sin = -ru.y;
return ::base::texture_coordinate_info(
float3(r_position.x,r_position.y,r_position.z),
::math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v),
::math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u));
}
// Takes the standard input that every material has. It combines a couple of
// functions in one convenience function.
::base::texture_coordinate_info vmat_transform(
float2 translation = float2(0.0f, 0.0f),
float rotation = 0.0f, // rotation in degrees
float2 scaling = float2(1.0f, 1.0f),
uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw,
uniform int uv_space = 0
)
{
float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f;
float4x4 scale =
float4x4(1.0f /scaling.x, 0.f , 0.f , 0.f,
0.f , 1.0f /scaling.y , 0.f , 0.f,
0.f , 0.f , 1.0f, 0.f,
translation.x , translation.y , 0.0f, 1.f);
float s = ::math::sin(rotation_rad);
float c = ::math::cos(rotation_rad);
float4x4 rotate =
float4x4( c , -s , 0.0f , 0.0f,
s , c , 0.0f , 0.0f,
0.0f, 0.0f , 1.0f , 0.0f,
0.f , 0.0f , 0.0f , 1.f);
return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space));
}
float histogram_range(float input, float range = 1.0f, float position = 0.5f)
{
float low = ::math::clamp(1.0f - ::math::min(((1.0f - position) + range * 0.5f), (1.0f - position) * 2), 0.0f, 1.0f);
float high = ::math::clamp(::math::min((position + range * 0.5f ), position * 2.0f), 0.0f, 1.0f);
return ::math::lerp(low, high, input);
}
//
// flake noise utilities
//
int hash(int seed, int i)
{
return (i ^ seed) * 1075385539;
}
int rnd_init(int3 pos)
{
return hash(hash(hash(0, pos.x), pos.y), pos.z);
}
int rnd_next(int seed) {
// xorshift32 using signed int
seed ^= seed << 13;
seed ^= seed >>> 17;
seed ^= seed << 5;
return seed;
}
float rnd_value(int seed)
{
//return ::math::abs(float(seed) * 4.6566fe-10f);
return ::math::abs(float(seed) * 0.00000000046566f);
}
// apply random rotation (using "Fast Random Rotation Matrices" by James Arvo)
float3 rotate_pos(float3 pos, float3 xi)
{
float theta = ::math::PI * 2.0f * xi.x;
float phi = ::math::PI * 2.0f * xi.y;
float z = xi.z * 2.0f;
float r = ::math::sqrt(z);
float[2] sp_cp = ::math::sincos(phi);
float Vx = sp_cp[0] * r;
float Vy = sp_cp[1] * r;
float Vz = ::math::sqrt(2.0f - z);
float[2] st_ct = ::math::sincos(theta);
float Sx = Vx * st_ct[1] - Vy * st_ct[0];
float Sy = Vx * st_ct[0] + Vy * st_ct[1];
float3x3 M(
Vx * Sx - st_ct[1], Vx * Sy - st_ct[0], Vx * Vz,
Vy * Sx + st_ct[0], Vy * Sy - st_ct[1], Vy * Vz,
Vz * Sx, Vz * Sy, 1.0f - z);
return M * pos;
}
struct flake_noise_value {
// flake priority (in [0..1], 0: no flake, flakes with higher priority shadow flakes "below" them)
float priority;
// Stores values from the functions (once normal, another time the color)
// current pseudo random number generator seed
int rnd_seed;
float4 carrier;
};
// flake noise function with controllable regularity, flake size, and probability
flake_noise_value flake_noise(
float3 pos,
float jitter_scale = 1.0f,
float flake_diameter = 0.75f,
float flake_probability = 1.0f)
{
float3 base_pos = ::math::floor(pos);
int3 base_pos_i = int3(base_pos);
// limit the flake size to the allowed maximum (such that looking at all neighbors is sufficient)
flake_diameter = ::math::min(flake_diameter, (1.5f - 0.5f * jitter_scale) / ::math::sqrt(3.0f));
flake_noise_value val(0.0f, 0, float4(0.0f));
for (int i = -1; i < 2; ++i) {
for (int j = -1; j < 2; ++j) {
for (int k = -1; k < 2; ++k) {
int seed = rnd_init(base_pos_i + int3(i, j, k));
seed = rnd_next(seed);
if (rnd_value(seed) > flake_probability)
continue;
seed = rnd_next(seed);
float priority = rnd_value(seed);
if (priority < val.priority)
continue;
float3 flake_pos = base_pos + float3(i, j, k) + float3(0.5f);
if (jitter_scale > 0.0f) {
seed = rnd_next(seed);
flake_pos.x += (rnd_value(seed) - 0.5f) * jitter_scale;
seed = rnd_next(seed);
flake_pos.y += (rnd_value(seed) - 0.5f) * jitter_scale;
seed = rnd_next(seed);
flake_pos.z += (rnd_value(seed) - 0.5f) * jitter_scale;
}
float3 p = pos - flake_pos;
if (::math::dot(p, p) >= flake_diameter * flake_diameter * 4.0f)
continue;
float3 xi_rot;
seed = rnd_next(seed);
xi_rot.x = rnd_value(seed);
seed = rnd_next(seed);
xi_rot.y = rnd_value(seed);
seed = rnd_next(seed);
xi_rot.z = rnd_value(seed);
p = rotate_pos(p, xi_rot);
if (::math::abs(p.x) <= flake_diameter &&
::math::abs(p.y) <= flake_diameter &&
::math::abs(p.z) <= flake_diameter)
{
val.priority = priority;
val.rnd_seed = seed;
}
}
}
}
return val;
}
// create a flake normal by importance sampling the Beckmann distribution with given roughness
flake_noise_value flake_normal(
flake_noise_value val,
float spread)
{
if (val.priority <= 0.0f)
{
val.carrier = float4(::state::normal().x, ::state::normal().y, ::state::normal().z, 1.0f);
return val;
}
int seed = rnd_next(val.rnd_seed);
float xi0 = rnd_value(seed);
seed = rnd_next(seed);
float xi1 = rnd_value(seed);
float phi = ::math::PI * 2.0f * xi0;
float roughness = spread * spread;
float tantheta = ::math::sqrt(-roughness * roughness * ::math::log(1.0f - xi1));
float sintheta = tantheta / ::math::sqrt(1.0f + tantheta * tantheta);
float costheta = ::math::sqrt(1.0f - sintheta * sintheta);
float[2] scphi = ::math::sincos(phi);
val.rnd_seed = seed;
float3 normal = ::state::texture_tangent_u(0) * scphi[1] * sintheta +
::state::texture_tangent_v(0) * scphi[0] * sintheta +
::state::normal() * costheta;
val.carrier = float4(normal.x, normal.y, normal.z, 1.0f);
return val;
}
// ------------------- (Metallic): 1 Flat Blue -------------------
export material Carpaint_Metallic(
color base_color = color(0.021219f, 0.090842f, 0.212231f) [[
::anno::description("Sets the base color of the carpaint."),
::anno::display_name("Base"),
::anno::in_group("Appearance"),
::anno::ui_order(0)
]],
float ground_coat_influence = 0.45f [[
::anno::description("The ground coat layer is a metallic base layer over which the base color coat, the flakes and the clearcoat are applied. Use the parameter 'Ground Coat Brightness' to adjust its brightness."),
::anno::display_name("Base Coat Influence"),
::anno::in_group("Appearance"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(1)
]],
float ground_coat_brightness = 0.37f [[
::anno::description("Adjusts the brightness of the metallic ground coat over which the base color coat, the flakes and the clearcoat are applied. Only has an effect, if the Ground Coat Influence is greater than 0.0."),
::anno::display_name("Base Coat Brightness"),
::anno::in_group("Appearance"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(2)
]],
float edge_darkening = 0.76f [[
::anno::description("The amount how much colors fade to darker color when looking at the carpaint at grazing angles. Low values make the carpaint look more flat."),
::anno::display_name("Edge Darkening"),
::anno::in_group("Appearance"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(3)
]],
color flakes_tint = color(0.080220f, 0.313989f, 0.603827f) [[
::anno::description("The color of the flakes."),
::anno::display_name("Flakes Tint"),
::anno::in_group("Flakes"),
::anno::ui_order(4)
]],
uniform float flakes_density = 0.46f [[
::anno::description("Adjusts the density of the flakes. Lower number means less flake particles being applied."),
::anno::display_name("Flakes Density"),
::anno::in_group("Flakes"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(5)
]],
float spread = 0.25f [[
::anno::description("The amount how much flakes are pointing to random directions. It is strongly discouraged using a value of 0.0 as the flakes will be oriented exactly as the surface normal, which will result in an unnatural look. Higher values lead to a more scintillating look of the flakes."),
::anno::display_name("Flakes Spread"),
::anno::enable_if("flakes_density > 0.0f"),
::anno::in_group("Flakes"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(6)
]],
float flakes_roughness = 0.55f [[
::anno::description("The roughness of the flakes itself. Higher values smoothen out the look of the flakes. Depending on the flakes being used in carpaints, use low values for a sparkling flake effect while mica flakes tend to have a higher roughness, leading to a smoother more pearlescent look on the final carpaint."),
::anno::display_name("Flakes Roughness"),
::anno::enable_if("flakes_density > 0.0f"),
::anno::in_group("Flakes"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(7)
]],
float flakes_size = 0.15f [[
::anno::description("Size of the metal flakes in millimeters."),
::anno::display_name("Flakes Size (mm)"),
::anno::enable_if("flakes_density > 0.0f"),
::anno::soft_range(0.f, 1.f),
::anno::in_group("Flakes"),
::anno::ui_order(8)
]],
float candy_flip = 0.19f [[
::anno::description("Changes the tint of the coating to fade towards the flake color to produce a candy paint effect."),
::anno::display_name("Candy Coating"),
::anno::in_group("Flakes"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(9)
]],
float flake_layer_visibility = 0.57f [[
::anno::description("Adjusts how much the flakes contribute to the final look. Lowering the value makes the flakes appear more transparent. At value of 0.0 no flakes are not rendered at all."),
::anno::display_name("Flakes Visibility"),
::anno::enable_if("flakes_density > 0.0f"),
::anno::in_group("Flakes"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(10)
]],
uniform texture_2d roughness_texture = texture_2d("./textures/smudges_scratches_A_rough.jpg", ::tex::gamma_linear) [[
::anno::description("Texture to use for adding variation to the roughness on the clearcoat."),
::anno::display_name("Roughness Texture"),
::anno::in_group("Clearcoat"),
::anno::ui_order(11)
]],
float clearcoat_rough = 0.06f [[
::anno::description("The roughness of the clearcoat."),
::anno::display_name("Clearcoat Roughness"),
::anno::in_group("Clearcoat"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(12)
]],
float roughness_variation = 0.14f [[
::anno::description("The amount of variation to apply to the roughness. This parameter only has an effect when the clearcoat roughness is not zero or one."),
::anno::display_name("Clearcoat Roughness Variation"),
::anno::in_group("Clearcoat"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(13)
]],
float clearcoat_ior = 1.600f [[
::anno::description("The index of refraction for the clearcoat layer."),
::anno::display_name("Clearcoat Index of Refraction"),
::anno::in_group("Clearcoat"),
::anno::soft_range(1.f, 3.f),
::anno::hard_range(1.f, 5.f),
::anno::ui_order(14)
]],
float clearcoat_visibility = 1.f [[
::anno::description("While the full value is the correct physical behavior of the clearcoat, lowering the value to reduce the amount of reflection for artistic purposes."),
::anno::display_name("Clearcoat Visibility"),
::anno::in_group("Clearcoat"),
::anno::hard_range(0.f, 1.f),
::anno::ui_order(15)
]],
uniform float orange_peel_strength = 0.f [[
::anno::description("Strength of the bump mapping effect."),
::anno::display_name("Coat Orange Peel Strength"),
::anno::in_group("Clearcoat"),
::anno::soft_range(0.f, 1.f),
::anno::hard_range(0.f, 2.f),
::anno::ui_order(16)
]],
uniform float orange_peel_size = 0.01f [[
::anno::description("Size of the biggest feature of the pattern."),
::anno::display_name("Coat Orange Peel Size"),
::anno::soft_range(0.f, 1.f),
::anno::in_group("Clearcoat"),
::anno::ui_order(17)
]],
float2 texture_translate = float2(0.f) [[
::anno::description("Controls the position of the texture."),
::anno::display_name("Texture Translate"),
::anno::in_group("Transform"),
::anno::ui_order(18)
]],
float texture_rotate = 0.f [[
::anno::description("Rotates angle of the texture in degrees."),
::anno::display_name("Texture Rotate"),
::anno::in_group("Transform"),
::anno::soft_range(0.f, 360.f),
::anno::ui_order(19)
]],
float2 texture_scale = float2(1.f) [[
::anno::description("Larger numbers increase the size."),
::anno::display_name("Texture Scale"),
::anno::in_group("Transform"),
::nvidia::core_definitions::dimension(float2(1.f, 1.f)),
::anno::ui_order(20)
]],
uniform bool roundcorners_enable = false [[
::anno::description("Enables the round corneer effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."),
::anno::display_name("Enable Round Corners"),
::anno::in_group("Round Corners"),
::anno::ui_order(22)
]],
uniform float roundcorners_radius_mm = 1.5f [[
::anno::description("Radius of the rounded corners in millimeters."),
::anno::display_name("Round Corner Radius (mm)"),
::anno::in_group("Round Corners"),
::anno::soft_range(0.f, 10.f),
::anno::ui_order(23)
]],
uniform bool roundcorners_across_materials = false [[
::anno::description("Applies the round corner effect across different materials when enabled."),
::anno::display_name("Across Materials"),
::anno::in_group("Round Corners"),
::anno::ui_order(27)
]],
uniform int uv_space_index = 0 [[
::anno::description("Use selected UV space for material."),
::anno::display_name("UV Space Index"),
::anno::in_group("Advanced"),
::anno::ui_order(28)
]]
)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Blue Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "blue", "cool")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Carpaint_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
=
let {
bool tmp0 = false;
// Tried Scaling factors for flakes to fit 1mm size both in Substance Designer and (Iray for) Rhino
// Rhino scaling factor: 1492.537313432835
// Substance Designer Scaling factor: 1158.6829010512
float flakes_size_m = (1492.537313432835f/flakes_size); // Flake scaling adjustment, so that flake size is in mm
float flake_layer_visibility_m = 1.0f - flake_layer_visibility;
::base::texture_coordinate_info coord_info = ::base::coordinate_source(::base::texture_coordinate_object, 0);
float scale_trans = ::state::transform_scale(::state::coordinate_object, ::state::coordinate_world, 1.0f);
float3 source_coord = coord_info.position * ::state::meters_per_scene_unit() * scale_trans;
::base::texture_coordinate_info transformed_coord = ::base::transform_coordinate(
::base::rotation_translation_scale(float3(0.0f), float3(0.0f), float3(scale_trans)),
coord_info
);
material_surface tmp1(::df::fresnel_layer(clearcoat_ior, clearcoat_visibility, ::df::simple_glossy_bsdf(histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough) * histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough), histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough) * histogram_range(::base::file_texture(roughness_texture, color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_average, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).mono, roughness_variation, clearcoat_rough), nvidia::core_definitions::blend_colors(color(1.f, 1.f, 1.f), flakes_tint, ::base::color_layer_blend, candy_flip).tint, nvidia::core_definitions::blend_colors(color(1.f, 1.f, 1.f), flakes_tint, ::base::color_layer_blend, candy_flip).tint, ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::directional_factor(color(1.f, 1.f, 1.f), color(1.f - edge_darkening), 1.f, flakes_density > 0.f ? ::df::weighted_layer(::math::lerp(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density).priority > 0.001f ? 1.0f : 0.0f , 0.f, flake_layer_visibility_m), ::df::microfacet_ggx_smith_bsdf(flakes_roughness * 0.340000004f, flakes_roughness * 0.340000004f, flakes_tint, color(0.f, 0.f, 0.f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::directional_factor(base_color, color(1.f - edge_darkening), 1.f, ::df::weighted_layer(ground_coat_influence * 0.5f, ::df::microfacet_ggx_vcavities_bsdf(0.40959999f, 0.40959999f, color(ground_coat_brightness * 0.949999988f + 0.0500000007f), color(ground_coat_brightness * 0.949999988f + 0.0500000007f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::diffuse_reflection_bsdf(base_color, 0.f), ::state::normal())), float3(flake_normal(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density ), spread).carrier.x, flake_normal(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density ), spread).carrier.y, flake_normal(flake_noise(source_coord * flakes_size_m, 0.5f, 1.f, flakes_density * flakes_density ), spread).carrier.z)) : ::df::directional_factor(base_color, color(1.f - edge_darkening), 1.f, ::df::weighted_layer(ground_coat_influence * 0.5f, ::df::microfacet_ggx_vcavities_bsdf(0.40959999f, 0.40959999f, color(ground_coat_brightness * 0.949999988f + 0.0500000007f), color(ground_coat_brightness * 0.949999988f + 0.0500000007f), ::state::texture_tangent_u(0), ::df::scatter_reflect), ::df::diffuse_reflection_bsdf(base_color, 0.f), ::state::normal()))), orange_peel_strength > 0.f ? ::base::perlin_noise_bump_texture(transformed_coord, orange_peel_strength, orange_peel_size, false, false, 0.f, 2, false, false, float3(0.f), 1.f, 0.f, 1.f, ::state::normal()) : ::state::normal()), material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
material_surface tmp2 = material_surface(scattering: bsdf(), emission: material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
color tmp3 = color(1.f, 1.f, 1.f);
material_volume tmp4 = material_volume(scattering: vdf(), absorption_coefficient: color(0.f, 0.f, 0.f), scattering_coefficient: color(0.f, 0.f, 0.f));
material_geometry tmp5(float3(0.f), 1.f, roundcorners_enable ? ::state::rounded_corner_normal(roundcorners_radius_mm * 0.00100000005f, roundcorners_across_materials, 1.f) : ::state::normal());
hair_bsdf tmp6 = hair_bsdf();
} in
material(
thin_walled: tmp0,
surface: tmp1,
backface: tmp2,
ior: tmp3,
volume: tmp4,
geometry: tmp5,
hair: tmp6);
// ------------------- (Metallic): 2 -------------------
export material White_Light_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint White Light Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "white", "light", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.White_Light_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.783538f, 0.783538f, 0.783538f),
ground_coat_influence: 0.1f,
ground_coat_brightness: 1.0f,
edge_darkening: 0.96f,
flakes_tint: color(0.552011f, 0.552011f, 0.552011f),
flakes_density: 0.49f,
spread: 0.33f,
flakes_roughness: 0.57f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 1.0f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 3 -------------------
export material White_Strong_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint White Strong Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "white", "light", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.White_Strong_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.693872f, 0.693872f, 0.693872f),
ground_coat_influence: 0.59f,
ground_coat_brightness: 0.62f,
edge_darkening: 0.57f,
flakes_tint: color(0.723055f, 0.791298f, 0.830770f),
flakes_density: 0.58f,
spread: 0.41f,
flakes_roughness: 0.22f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 1.0f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 4 -------------------
export material White_Silver_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint White Silver Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "white", "light", "silver", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.White_Silver_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.783538f, 0.783538f, 0.783538f),
ground_coat_influence: 0.0f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.57f,
flakes_tint: color(0.552011f, 0.552011f, 0.552011f),
flakes_density: 0.17f,
spread: 0.27f,
flakes_roughness: 0.29f,
flakes_size: .5f,
candy_flip: 0.0f,
flake_layer_visibility: 1.0f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 5 -------------------
export material White_Blue_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint White Blue Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "light", "white", "blue", "light")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.White_Blue_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.564712f, 0.590619f, 0.630757f),
ground_coat_influence: 0.87f,
ground_coat_brightness: 0.98f,
edge_darkening: 0.24f,
flakes_tint: color(0.693872f, 0.830770f, 0.791298f),
flakes_density: 0.98f,
spread: 0.31f,
flakes_roughness: 0.55f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 1.0f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 6 -------------------
export material Black_Sparkling_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Black Sparkling Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "light", "white", "blue", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Black_Sparkling_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.022174f, 0.022174f, 0.022174f),
ground_coat_influence: 0.0f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.57f,
flakes_tint: color(0.806952f, 0.806952f, 0.806952f),
flakes_density: 0.1f,
spread: 0.29f,
flakes_roughness: 0.33f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 1.0f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 7 Bright Silver Metallic -------------------
export material Bright_Silver_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Bright Silver Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "light", "silver", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Bright_Silver_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.304987f, 0.304987f, 0.304987f),
ground_coat_influence: 0.95f,
ground_coat_brightness: 0.68f,
edge_darkening: 0.71f,
flakes_tint: color(0.799103f, 0.799103f, 0.799103f),
flakes_density: 0.92f,
spread: 0.26f,
flakes_roughness: 0.43f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 1.0f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 8 Dark Silver Metallic -------------------
export material Dark_Silver_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Dark Silver Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "silver", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Dark_Silver_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.019382f, 0.019382f, 0.019382f),
ground_coat_influence: 0.0f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.57f,
flakes_tint: color(0.806952f, 0.806952f, 0.806952f),
flakes_density: 0.61f,
spread: 0.29f,
flakes_roughness: 0.55f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 0.82f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 9 Dark Silver Metallic -------------------
export material Silverblue_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Silverblue Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "silver", "gray", "multicolor", "cool")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Silverblue_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.381326, 0.423268f, 0.491021f),
ground_coat_influence: 0.95f,
ground_coat_brightness: 0.68f,
edge_darkening: 0.9f,
flakes_tint: color(0.552011f, 0.686685f, 0.799103f),
flakes_density: 0.48f,
spread: 0.37f,
flakes_roughness: 0.43f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 0.95f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 10 Graphite -------------------
export material Graphite_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Graphite Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "graphite", "silver", "dark", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Graphite_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.171441f, 0.162029f, 0.155926f),
ground_coat_influence: 0.40f,
ground_coat_brightness: 0.64f,
edge_darkening: 0.73f,
flakes_tint: color(0.116971f, 0.119538f, 0.124772f),
flakes_density: 0.74f,
spread: 0.39f,
flakes_roughness: 0.50f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 0.95f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 11 Taupe -------------------
export material Taupe_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Taupe Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "silver", "taupe", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Taupe_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.205079f, 0.174647f, 0.147027f),
ground_coat_influence: 0.40f,
ground_coat_brightness: 0.64f,
edge_darkening: 0.73f,
flakes_tint: color(0.300544f, 0.250158f, 0.187821f),
flakes_density: 0.74f,
spread: 0.39f,
flakes_roughness: 0.50f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 0.95f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 12 Dark Gray -------------------
export material Dark_Gray_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Dark Gray Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "silver", "gray", "dark", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Dark_Gray_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.033105f, 0.033105f, 0.033105f),
ground_coat_influence: 0.99f,
ground_coat_brightness: 0.88f,
edge_darkening: 0.99f,
flakes_tint: color(0.417885f, 0.417885f, 0.417885f),
flakes_density: 0.72f,
spread: 0.41f,
flakes_roughness: 0.38f,
flakes_size: 0.5f,
candy_flip: 0.0f,
flake_layer_visibility: 0.49f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 13 Gunmetal Matte -------------------
export material Gunmetal_Matte_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Gunmetal Matte Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "silver", "gray", "gunmetal", "neutral")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Gunmetal_Matte_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.138432f, 0.135633f, 0.111932f),
ground_coat_influence: 0.99f,
ground_coat_brightness: 0.88f,
edge_darkening: 0.99f,
flakes_tint: color(0.417885f, 0.417885f, 0.417885f),
flakes_density: 0.72f,
spread: 0.40f,
flakes_roughness: 0.48f,
flakes_size: 0.61f,
candy_flip: 0.0f,
flake_layer_visibility: 0.49f,
// roughness_texture:
clearcoat_rough: 0.42f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.06f,
orange_peel_size: 0.002f
);
// ------------------- (Metallic): 14 Cherry Red -------------------
export material Cherry_Red_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Red Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "red", "saturated", "warm", "cherry")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Cherry_Red_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.462077f, 0.034340f, 0.026241f),
ground_coat_influence: 0.43f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.74f,
flakes_tint: color(0.479320f, 0.021219f, 0.021219f),
flakes_density: 0.76f,
spread: 0.41f,
flakes_roughness: 0.48f,
flakes_size: 0.50f,
candy_flip: 0.0f,
flake_layer_visibility: 0.82f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 15 Dark Metallic Red -------------------
export material Dark_Red_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Dark Red Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "red", "saturated", "warm", "dark")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Dark_Red_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.031896f, 0.003035f, 0.003035f),
ground_coat_influence: 0.43f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.61f,
flakes_tint: color(0.223228f, 0.012286f, 0.012286f),
flakes_density: 0.92f,
spread: 0.3f,
flakes_roughness: 0.14f,
flakes_size: 0.50f,
candy_flip: 0.19f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 16 Flaming Orange -------------------
export material Flaming_Orange_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Flaming Orange Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "orange", "saturated", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Flaming_Orange_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.462077f, 0.124772f, 0.021219f),
ground_coat_influence: 0.79f,
ground_coat_brightness: 0.13f,
edge_darkening: 0.79f,
flakes_tint: color(0.745404f, 0.250158f, 0.024158f),
flakes_density: 0.53f,
spread: 0.42f,
flakes_roughness: 0.50f,
flakes_size: 0.50f,
candy_flip: 0.19f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 17 Mocha Metallic -------------------
export material Mocha_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Mocha Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "mocha", "brown", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Mocha_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.095307f, 0.061246f, 0.038204f),
ground_coat_influence: 0.40f,
ground_coat_brightness: 0.64f,
edge_darkening: 0.73f,
flakes_tint: color(0.376262f, 0.198069f, 0.109462f),
flakes_density: 0.64f,
spread: 0.39f,
flakes_roughness: 0.50f,
flakes_size: 0.50f,
candy_flip: 0.00f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 18 Golden Yellow -------------------
export material Golden_Yellow_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Golden Yellow Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "yellow", "gold", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Golden_Yellow_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.658375f, 0.520996f, 0.017642f),
ground_coat_influence: 0.43f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.35f,
flakes_tint: color(0.913099f, 0.386429f, 0.016807f),
flakes_density: 0.19f,
spread: 0.23f,
flakes_roughness: 0.42f,
flakes_size: 0.50f,
candy_flip: 0.19f,
flake_layer_visibility: 0.45f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 19 Gold Metallic -------------------
export material Gold_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Gold Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "yellow", "gold", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Gold_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.658375f, 0.386429f, 0.017642f),
ground_coat_influence: 0.76f,
ground_coat_brightness: 0.72f,
edge_darkening: 0.35f,
flakes_tint: color(0.439657f, 0.439657f, 0.025187f),
flakes_density: 0.52f,
spread: 0.36f,
flakes_roughness: 0.42f,
flakes_size: 0.50f,
candy_flip: 0.19f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 20 Golden Flakes -------------------
export material Golden_Flakes_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Golden Flakes Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "gold", "orange", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Golden_Flakes_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.021219f, 0.021219f, 0.021219f),
ground_coat_influence: 0.78f,
ground_coat_brightness: 0.0f,
edge_darkening: 1.00f,
flakes_tint: color(0.913099f, 0.491021f, 0.052861f),
flakes_density: 0.99f,
spread: 0.54f,
flakes_roughness: 0.37f,
flakes_size: 1.00f,
candy_flip: 0.00f,
flake_layer_visibility: 0.50f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.3f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 21 Sparkling Lime -------------------
export material Sparkling_Lime_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Sparkling Lime Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "lime", "green", "saturated", "intense")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Sparkling_Lime_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.039546f, 0.396755, 0.031896f),
ground_coat_influence: 0.11f,
ground_coat_brightness: 0.64f,
edge_darkening: 0.10f,
flakes_tint: color(0.327778f, 0.644480f, 0.036889f),
flakes_density: 0.56f,
spread: 0.39f,
flakes_roughness: 0.39f,
flakes_size: 0.50f,
candy_flip: 0.00f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 22 Rainforest -------------------
export material Rainforest_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Rainforest Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "green", "saturated", "intense")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Rainforest_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.038204f, 0.124772f, 0.011612f),
ground_coat_influence: 0.66f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.96f,
flakes_tint: color(0.031896f, 0.417885f, 0.119538f),
flakes_density: 0.70f,
spread: 0.25f,
flakes_roughness: 0.33f,
flakes_size: 0.50f,
candy_flip: 0.19f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 23 Grass Green -------------------
export material Grass_Green_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Grass Green Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "green", "grass", "saturated", "intense")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Grass_Green_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.122139f, 0.242281f, 0.019382f),
ground_coat_influence: 0.66f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.50f,
flakes_tint: color(0.291771f, 0.913099f, 0.063010f),
flakes_density: 0.56f,
spread: 0.23f,
flakes_roughness: 0.42f,
flakes_size: 0.50f,
candy_flip: 0.19f,
flake_layer_visibility: 0.45f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 24 Emerald -------------------
export material Emerald_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Emerald Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "green", "dark", "emerald", "saturated")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Emerald_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.021219f, 0.127438f, 0.064803f),
ground_coat_influence: 0.79f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.79f,
flakes_tint: color(0.021219f, 0.254152f, 0.127438f),
flakes_density: 0.44f,
spread: 0.38f,
flakes_roughness: 0.41f,
flakes_size: 0.3f,
candy_flip: 0.00f,
flake_layer_visibility: 1.00f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.0f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 25 Vintage Turquoise -------------------
export material Vintage_Turquoise_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Vintage Turquoise Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "turquoise", "blue", "cool", "vintage", "saturated")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Vintage_Turquoise_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.088656f, 0.341914f, 0.391572f),
ground_coat_influence: 0.06f,
ground_coat_brightness: 0.24f,
edge_darkening: 0.06f,
flakes_tint: color(0.287441f, 0.491021f, 0.597202f),
flakes_density: 0.30f,
spread: 0.35f,
flakes_roughness: 0.28f,
flakes_size: 0.7f,
candy_flip: 0.00f,
flake_layer_visibility: 0.64f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.05f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 26 Electric Blue -------------------
export material Electric_Blue_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Electric Blue Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "blue", "saturated", "intense", "cool")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Electric_Blue_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.061246f, 0.396755f, 0.887923f),
ground_coat_influence: 0.95f,
ground_coat_brightness: 0.34f,
edge_darkening: 0.51f,
flakes_tint: color(0.061246f, 0.396755f, 0.887923f),
flakes_density: 0.63f,
spread: 0.41f,
flakes_roughness: 0.32f,
flakes_size: 0.6f,
candy_flip: 0.00f,
flake_layer_visibility: 0.64f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.00f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 27 Teal -------------------
export material Teal_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Teal Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "blue", "teal", "saturated", "intense", "cool")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Teal_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.088656f, 0.274677f, 0.391572f),
ground_coat_influence: 0.22f,
ground_coat_brightness: 0.55f,
edge_darkening: 0.25f,
flakes_tint: color(0.020289f, 0.351533f, 0.337164f),
flakes_density: 0.78f,
spread: 0.34f,
flakes_roughness: 0.43f,
flakes_size: 0.5f,
candy_flip: 0.00f,
flake_layer_visibility: 0.55f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.00f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 28 Elegant Blue -------------------
export material Elegant_Blue_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Elegant Blue Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "blue", "cool", "dark")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Elegant_Blue_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.023153f, 0.028426f, 0.063010f),
ground_coat_influence: 0.9f,
ground_coat_brightness: 0.24f,
edge_darkening: 1.00f,
flakes_tint: color(0.021219f, 0.171441f, 0.417885f),
flakes_density: 0.27f,
spread: 0.12f,
flakes_roughness: 0.46f,
flakes_size: 0.5f,
candy_flip: 0.19f,
flake_layer_visibility: 0.99f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.00f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 29 Poseidon Blue -------------------
export material Poseidon_Blue_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Poseidon Blue Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "blue", "cool", "dark")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Poseidon_Blue_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.021219f, 0.135633f, 0.356400f),
ground_coat_influence: 0.92f,
ground_coat_brightness: 0.56f,
edge_darkening: 1.00f,
flakes_tint: color(0.028426f, 0.099899f, 0.162029f),
flakes_density: 0.19f,
spread: 0.29f,
flakes_roughness: 0.26f,
flakes_size: 0.5f,
candy_flip: 0.19f,
flake_layer_visibility: 0.99f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.00f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 30 Purple Rain -------------------
export material Purple_Rain_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Purple Rain Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "purple", "saturated", "intense")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Purple_Rain_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.155926f, 0.045186f, 0.234551f),
ground_coat_influence: 0.87f,
ground_coat_brightness: 0.44f,
edge_darkening: 0.24f,
flakes_tint: color(0.502886f, 0.122139f, 0.791298f),
flakes_density: 0.49f,
spread: 0.66f,
flakes_roughness: 0.2f,
flakes_size: 0.4f,
candy_flip: 0.00f,
flake_layer_visibility: 0.99f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.00f,
orange_peel_size: 0.01f
);
// ------------------- (Metallic): 31 Pink Glamour -------------------
export material Pink_Glamour_Metallic(*)
[[
::anno::author("NVIDIA"),
::anno::display_name("Carpaint Pink Glamour Metallic"),
::anno::description("Multilayered carpaint material with metallic flakes."),
::anno::key_words(string[]("carpaint", "reflective", "artificial", "multilayer", "new", "flat", "clearcoat", "automotive", "design", "metallic", "flakes", "pigment", "glitter", "pink", "light", "warm")),
::anno::thumbnail("./.thumbs/Carpaint_Metallic.Pink_Glamour_Metallic.png"),
::anno::copyright_notice(COPYRIGHT)
]]
= Carpaint_Metallic(
base_color: color(0.760525f, 0.439657f, 0.323143f),
ground_coat_influence: 0.87f,
ground_coat_brightness: 0.44f,
edge_darkening: 0.24f,
flakes_tint: color(0.715694f, 0.445201f, 0.386429f),
flakes_density: 0.70f,
spread: 0.66f,
flakes_roughness: 0.2f,
flakes_size: 0.4f,
candy_flip: 0.00f,
flake_layer_visibility: 0.99f,
// roughness_texture:
clearcoat_rough: 0.06f,
roughness_variation: 0.14f,
clearcoat_ior: 1.6f,
clearcoat_visibility: 1.0f,
orange_peel_strength: 0.00f,
orange_peel_size: 0.01f
);