|
|
> Dearmad <dea### [at] teleportcom> wrote
> > is that your texturing on it or is that a moire pattern I see?
Alan Holding wrote:
> Every brick was given a random pigment and slightly different
> normal, the code being:
>
> texture {
> pigment {rgb <rand(seed),rand(seed),rand(seed)>/2+0.5}
> finish {phong 1 phong_size 75 ambient 0.2 diffuse 0.7 metallic}
> normal {granite 0.25 scale 0.05 turbulence 0.02
> translate rand (seed)*2}
> }
>
> which gave a nice pastel look to them, I think.
Ah, and assuming that rand() is a typical linear type (why can't i find
it in the doc?!), one would expect vague stripes to show up.
Why not apply the normal to the wall as a whole?
--
Anton Sherwood -- br0### [at] p0b0xcom -- http://ogre.nu/
Post a reply to this message
|
|