SONB
Member
|
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
SONB
|
|
03-07-2009 01:24 AM |
|
Esenthel
Administrator
|
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 |
|