Blender V2.61 - r43446
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN __device float | fresnel_dielectric (float eta, const float3 N, const float3 I, float3 *R, float3 *T, bool *is_inside) |
__device float | fresnel_dielectric_cos (float cosi, float eta) |
__device float | fresnel_conductor (float cosi, float eta, float k) |
__device float | smooth_step (float edge0, float edge1, float x) |
__device float fresnel_conductor | ( | float | cosi, |
float | eta, | ||
float | k | ||
) |
__device float fresnel_dielectric_cos | ( | float | cosi, |
float | eta | ||
) |
Definition at line 94 of file bsdf.h.
References A, B, fabsf, g, and sqrtf.
Referenced by svm_node_closure_bsdf(), svm_node_fresnel(), and svm_node_layer_weight().