add a new texture

This commit is contained in:
Tonton Th 2025-04-25 21:38:12 +02:00
parent c82f6f4de5
commit ffd73e832c
2 changed files with 11 additions and 1 deletions

View File

@ -102,6 +102,16 @@ finish {
}
}
/* ------------------------------------------------------------ */
#declare GoldDark = texture
{
pigment{ rgb <0.81, 0.71, 0.23> }
finish{ diffuse 0.5 ambient 0 specular 1 metallic roughness 0.01
reflection{0.6 metallic}
}
} // This is a metal.
/* ------------------------------------------------------------ */
/*
* Usefull macros

View File

@ -19,7 +19,7 @@ difference {
#elseif (Foo < 0.75)
texture { T_Chrome_3A }
#else
texture { Flashy }
texture { GoldDark }
#end // else
#undef Foo
}