|
|
Hi!
Is it possible to have a sky_sphere that occupies only one half of the sky?
Or, alternatively, is it possible to create a pigment that is
transparent for all (say) x > 0 and some other pigment (say, a
y-gradient) for x <= 0?
Thanks!
Timwi
Post a reply to this message
|
|
|
|
>
> Hi!
>
> Is it possible to have a sky_sphere that occupies only one half of the sky?
>
> Or, alternatively, is it possible to create a pigment that is
> transparent for all (say) x > 0 and some other pigment (say, a
> y-gradient) for x <= 0?
>
> Thanks!
> Timwi
If you use a gradient pattern similar to that one:
gradient x pigment_map{[0.5 rgbt 1][0.5 Your_Sky scale 0.5] scale 2}
The scale ensure that the gradient is used only once. As it is now, the
left half will use Your_Sky and the right half will be transparent and
show the background colour.
It should do the trick. The Your_Sky pigment can be anything you want,
like a gradient y, a light probe or ...
Another possible way would be to have a normal sky_sphere AND a very
large half sphere.
Alain
Post a reply to this message
|
|