Andreas Kreisig wrote:
> I didn't know how to add some attributes
> to pre-defined textures.
>
> I defined something like this:
> #declare ma_bottle_fsh=material { M_Glass2 }
> and want to add some bumpiness to the bottle,
Just add the attributes you want to the definition:
#declare ma_bottle_fsh =
material {
texture {
M_Glass2
normal {
dents
}
}
}
> or I defined this:
> #declare ma_chair_fsh=texture { T_Wood15 }
> and want to add a shiny surface.
#declare ma_chair_fsh =
texture {
T_Wood15
finish {
reflection 0.2
}
}
Hope that helps.
Bonsai
--
<--------------------------->
___ __ __ _ ___ ___ _
| _ ) \ \( ) _) _ )( )
| _ \() |\ \ |\ \/ _ \| |
|___/__/_)\__)___)/ \_)_)
www.b0n541.net
<--------------------------->
Post a reply to this message
|