|
|
Christoph Hormann wrote:
> Just checked it out and found that transformations are not used in shader
> pigments. For example
>
> #declare myWaves=function{
> pigment{
> shader{
> shader_file "waves.slp"
> "scale" 10
> }
> scale 0.001
> }
> }
>
> in this scene does not change anything, which seems wrong to me.
>
Mea culpa! It is wrong! As it appears, I managed to insert bug to the
waves shader :o(
replace line:
vector NewVect = vfBm(P, 5, lac, 1/lac);
with line:
vector NewVect = vfBm(pt, 5, lac, 1/lac);
in waves.sl and recompile shader.
Post a reply to this message
|
|