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

Public Member Functions | |
| HGScatterer (const rgb &_albedo, double _g) | |
| rgb | sampleKernel (const Vector3 &w_out, const HitRecord &rec, Context &context, Vector3 &w_in, double &pdf) const |
| double | pdfDirection (const Vector3 &w_out, const Vector3 &w_in, const HitRecord &rec, Context &context) const |
| rgb | kernel (const Vector3 &w_out, const Vector3 &w_in, const HitRecord &rec, Context &context) const |
|
||||||||||||||||||||||||
|
Sample a SurfaceShader 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. |
|
||||||||||||||||||||
|
Returns the value of the kernel (
Reimplemented from SurfaceShader. |
1.4.3