POV-Ray : Newsgroups : povray.binaries.images : Another WIP : Re: Another WIP Server Time
17 Aug 2024 10:15:53 EDT (-0400)
  Re: Another WIP  
From: Peter Popov
Date: 12 Nov 2001 01:43:59
Message: <hlruut428a7ni65g34te45grbvktu80loe@4ax.com>
On Sun, 11 Nov 2001 08:02:17 -0500, John David Haiducek
<jha### [at] enginumichedu> wrote:

>I had thought that Photoshop's "Lighten" mode did addition. Am I wrong
>about that?

If layer A is above layer B, then for a pixel [x,y]:

f_lighten(A,B,[x,y]) = (lum(A,[x,y])>lum(B,[x,y]))?A[x,y]:B[x,y]

If you want to do addition, try screen mode or image/channel
composition.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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