|
|
William Tracy <wtr### [at] calpolyedu> wrote:
> All that work creating the metal textures, and what I want to know is...
>
> How did you do the text on the spheres? :-)
I uv-mapped a texture of a text object pattern, where the positive space has
a reflection { } value of 0.
#local Stamp = text { ... }
#local T1 = Metal (Palette [Index + Unit], Spec);
#local T2 = Metal (Palette [Index + Unit], 0);
#local N1 = normal { object { Stamp } -0.05 accuracy 0.002 };
texture
{ uv_mapping object
{ Stamp
texture { T1 normal { N1 } }
texture { T2 normal { N1 } }
}
}
Some context: Metal() is a macro that i wrote that returns a metallic
texture. Palette (Index + Unit) is an rgb value, and Spec is a reflection
{ } value.
Post a reply to this message
|
|