Blender V2.61 - r43446
Classes | Typedefs | Functions

bsdf_reflection.h File Reference

Go to the source code of this file.

Classes

struct  BsdfReflectionClosure

Typedefs

typedef CCL_NAMESPACE_BEGIN
struct BsdfReflectionClosure 
BsdfReflectionClosure

Functions

__device void bsdf_reflection_setup (ShaderData *sd, ShaderClosure *sc)
__device void bsdf_reflection_blur (ShaderClosure *sc, float roughness)
__device float3 bsdf_reflection_eval_reflect (const ShaderData *sd, const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf)
__device float3 bsdf_reflection_eval_transmit (const ShaderData *sd, const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf)
__device float bsdf_reflection_albedo (const ShaderData *sd, const ShaderClosure *sc, const float3 I)
__device int bsdf_reflection_sample (const ShaderData *sd, const ShaderClosure *sc, float randu, float randv, float3 *eval, float3 *omega_in, float3 *domega_in_dx, float3 *domega_in_dy, float *pdf)

Typedef Documentation

typedef CCL_NAMESPACE_BEGIN struct BsdfReflectionClosure BsdfReflectionClosure

Function Documentation

__device float bsdf_reflection_albedo ( const ShaderData sd,
const ShaderClosure sc,
const float3  I 
)

Definition at line 64 of file bsdf_reflection.h.

__device void bsdf_reflection_blur ( ShaderClosure sc,
float  roughness 
)

Definition at line 50 of file bsdf_reflection.h.

Referenced by svm_bsdf_blur().

__device float3 bsdf_reflection_eval_reflect ( const ShaderData sd,
const ShaderClosure sc,
const float3  I,
const float3  omega_in,
float *  pdf 
)

Definition at line 54 of file bsdf_reflection.h.

References make_float3().

Referenced by svm_bsdf_eval().

__device float3 bsdf_reflection_eval_transmit ( const ShaderData sd,
const ShaderClosure sc,
const float3  I,
const float3  omega_in,
float *  pdf 
)

Definition at line 59 of file bsdf_reflection.h.

References make_float3().

Referenced by svm_bsdf_eval().

__device int bsdf_reflection_sample ( const ShaderData sd,
const ShaderClosure sc,
float  randu,
float  randv,
float3 eval,
float3 omega_in,
float3 domega_in_dx,
float3 domega_in_dy,
float *  pdf 
)
__device void bsdf_reflection_setup ( ShaderData sd,
ShaderClosure sc 
)