add a new texture
This commit is contained in:
parent
c82f6f4de5
commit
ffd73e832c
10
globals.inc
10
globals.inc
@ -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
|
||||
|
@ -19,7 +19,7 @@ difference {
|
||||
#elseif (Foo < 0.75)
|
||||
texture { T_Chrome_3A }
|
||||
#else
|
||||
texture { Flashy }
|
||||
texture { GoldDark }
|
||||
#end // else
|
||||
#undef Foo
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user