POV-Ray : Newsgroups : povray.programming : Att variable in lighting.cpp : Re: Att variable in lighting.cpp Server Time
17 May 2024 07:53:15 EDT (-0400)
  Re: Att variable in lighting.cpp  
From: Jing Li
Date: 6 Dec 2005 16:10:01
Message: <web.4395fd28a4ef11a8e49f817c0@news.povray.org>
Could you tell me what kind of attenuation of Att is, such as Light-source
attenusation or Atmospheric attenuation, and where the original formula
comes from?

Thanks,

Jing

Thorsten Froehlich <tho### [at] trfde> wrote:
> Jing Li wrote:
> > What is the meaning of the Att variable in method "compute_lighted_texture"?
> > It is computed
> > using the fomula
> > Att = (1.0 - (LayCol[pFILTER]*max3(LayCol[0],LayCol[1],LayCol[2]) +
> > LayCol[pTRANSM]));
>
> Attenuation.
>
>  Thorsten


Post a reply to this message

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