|
![](/i/fill.gif) |
Zeger Knaepen <zeg### [at] povplace com> wrote:
> just tested it, seems to me like it works, but it would actually be
> easier to do:
>
> texture {
> average
> texture_map {
> //ambient
> [1
> pigment {[ambient pigment]}
> finish {diffuse 0 ambient 4}
> ]
> [....]
> }
> }
Thanks! This average is exactly what I was looking for. Cool!
Is there a way to combine the "average result" with the uvmapping pigment? All I
want is to multiply them.
To give an example, if the computation of "average pattern" computes < 0.5, 0.5,
0.5 >, e.g. grey (50% white), multiplication with uvmapping pigment would result
in 50% intensity of the image mapped on an object.
If "average pattern" returns < 1, 0, 0 >, multiplication with uvmapping pigment
would return image filtered by red color.
Thanks,
John
Post a reply to this message
|
![](/i/fill.gif) |