POV-Ray : Newsgroups : povray.general : Color help... : Re: Color help... Server Time
8 Aug 2024 01:13:07 EDT (-0400)
  Re: Color help...  
From: Michael Andrews
Date: 17 Jul 2001 12:32:18
Message: <3B5469DE.FE19F511@reading.ac.uk>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.