POV-Ray : Newsgroups : povray.general : Colored shadows Server Time
5 Nov 2024 05:23:18 EST (-0500)
  Colored shadows (Message 1 to 1 of 1)  
From: Zeger Knaepen
Subject: Colored shadows
Date: 15 Jul 1999 19:08:22
Message: <378e69e6@news.povray.org>
This is another shadow-trick that gives a solid object a colored shadow
(based on the 'impossible shadow')

sphere {
 0,1
 pigment {rgbf <1,0,0,0>}
 finish {specular .5 brilliance 1.5}
 no_shadow
}
sphere {
 0,.9999
 pigment {rgbf <1,0,0,1>}
 finish {specular .5 brilliance 1.5}
}

plane {
 x,0
 translate -x*2
 pigment {checker color rgb .5 color rgb .7}
 finish {diffuse 1}
}
light_source {
 <5000,0,0>
 rgb 1}
camera {
 location <2,1,-5>
 look_at <-2,0,0>
}


Post a reply to this message

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