add a new texture

Šī revīzija ir iekļauta:
Tonton Th 2025-04-25 21:38:12 +02:00
vecāks c82f6f4de5
revīzija ffd73e832c
2 mainīti faili ar 11 papildinājumiem un 1 dzēšanām

Parādīt failu

@ -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 * Usefull macros

Parādīt failu

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