About Store Forum Documentation Contact



Post Reply 
lumFromAlphaAndLight() purpose?
Author Message
SONB Offline
Member

Post: #1
lumFromAlphaAndLight() purpose?
Hi!

I'm playing around with Gfx settings and unfortunately can't figure out the purpose of the function Gfx::lumFromAlphaAndLight() and how to use it. Do I have to use only DIR_FLAGs like for example DIRF_RIGHT? And what is the range of density_factor? And what is the impact of those settings?
I'm searching for a way to apply this glow effect to my lens flare gfx, so I thought maybe this function can achieve this effect.

Sorry for so many questions, Esenthel, and thanx in advance smile

SONB
03-07-2009 01:24 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: lumFromAlphaAndLight() purpose?
Hi,

this function is meant only for 3D textures, to calculate the voxels luminance according to voxels alpha, and light direction.

it is used for example in volumetric clouds.
03-07-2009 01:35 AM
Find all posts by this user Quote this message in a reply
Post Reply