Blender V2.61 - r43446
Functions

kernel_emission.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN __device float3 direct_emissive_eval (KernelGlobals *kg, float rando, LightSample *ls, float u, float v, float3 I)
__device bool direct_emission (KernelGlobals *kg, ShaderData *sd, int lindex, float randt, float rando, float randu, float randv, Ray *ray, float3 *eval)
__device float3 indirect_emission (KernelGlobals *kg, ShaderData *sd, float t, int path_flag, float bsdf_pdf)

Function Documentation

__device bool direct_emission ( KernelGlobals *  kg,
ShaderData sd,
int  lindex,
float  randt,
float  rando,
float  randu,
float  randv,
Ray ray,
float3 eval 
)
CCL_NAMESPACE_BEGIN __device float3 direct_emissive_eval ( KernelGlobals *  kg,
float  rando,
LightSample ls,
float  u,
float  v,
float3  I 
)
__device float3 indirect_emission ( KernelGlobals *  kg,
ShaderData sd,
float  t,
int  path_flag,
float  bsdf_pdf 
)