#include <surfaceshaders/WardShader.h>
Inheritance diagram for WardShader:

Public Member Functions | |
| WardShader (RGBTexture *diffuse_color, RGBTexture *specular_color, FloatTexture *alpha_x, FloatTexture *alpha_y) | |
| rgb | kernel (const Vector3 &w_out, const Vector3 &w_in, const HitRecord &rec, Context &context) const |
| double | pdfDirection (const Vector3 &w_out, const Vector3 &w_in, const HitRecord &rec, Context &context) const |
| rgb | sampleKernel (const Vector3 &w_out, const HitRecord &rec, Context &context, Vector3 &w_in, double &pdf) const |
|
||||||||||||||||||||
|
Returns the value of the kernel (
Reimplemented from SurfaceShader. |
|
||||||||||||||||||||
|
Evaluate the pdf of sampling w_in given w_out. This must be consistent with the sampleKernel function.
Reimplemented from SurfaceShader. |
|
||||||||||||||||||||||||
|
Sample a SurfaceShader kernel.
Reimplemented from SurfaceShader. |
1.4.3