POV-Ray : Newsgroups : povray.general : radial colour gradient : Re: radial colour gradient Server Time
31 Jul 2024 18:18:49 EDT (-0400)
  Re: radial colour gradient  
From: Penelope20k
Date: 18 Oct 2006 05:59:28
Message: <4535fb00@news.povray.org>
sphere {center,radius_sphere

pigment {rgbt a // exterior colour with transparency set to 1
}
interior {ior 1 fade_color B fade_power 1 fade_distance radius_sphere}

}

should works with appropriate value





news:web.4535f1f1ae8bc416699678ae0@news.povray.org...
> Hi All,
>
> I am trying to get a sphere with a radial colour gradient.
> For example, a red sphere that gradually becomes white in its center.
> Is there a way to do that ?
>
> Cheers
>
> Dav
>
>


Post a reply to this message

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