|
|
I've put an image on p.b.i which uses an angle dependant mix of two
colours. This is a one-line shader for POVMan, but it can only mix two
colours as it stands. It could probably be adapted to do other things
...
I'll post the source to the shaders and the pov file to p.b.s-f.
Bye for now,
Mike Andrews.
Ben Chambers wrote:
>
> Does anyone know how I can make a texture vary depending on the
> angle from which it is viewed? I've thought about using a radial, but that
> isn't quite what I want... As in, the angle of incidence between the
> intersecting ray and the surface normal would act as a sort of index
> into a pigment map.
>
> ...Chambers
Post a reply to this message
|
|