|
Blender V5.3
|
#include <eevee_bxdf_lut.bsl.hh>
Public Member Functions | |
| GGXBsdfData | eval (float3 Xi) const |
Static Public Member Functions | |
| static GGXBsdfClosure | from_coords (float3 coords) |
Public Attributes | |
| float | roughness |
| float | ior |
| float3 | V |
Generate 3D GGX BSDF LUT.
Follows the split sum approximation used in [Real shading in unreal engine 4] (https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf). and uses Schlick's approximation to weight R, T components.
The 3D LUT is parameterized on:
and output is interpreted as:
Definition at line 107 of file eevee_bxdf_lut.bsl.hh.
|
inline |
Definition at line 137 of file eevee_bxdf_lut.bsl.hh.
References abs, eevee::lut::GGXBsdfData::bias, bxdf_ggx_eval_reflection(), bxdf_ggx_eval_refraction(), bxdf_ggx_sample_reflection(), bxdf_ggx_sample_refraction(), BsdfSample::direction, dot(), H, ior, L, N, normalize, pow5f(), R, refract(), roughness, saturate, eevee::lut::GGXBsdfData::scale, T, eevee::lut::GGXBsdfData::transmission_factor, V, and BsdfEval::weight.
|
inlinestatic |
| float eevee::lut::GGXBsdfClosure::ior |
Definition at line 109 of file eevee_bxdf_lut.bsl.hh.
Referenced by eval(), and from_coords().
| float eevee::lut::GGXBsdfClosure::roughness |
Definition at line 108 of file eevee_bxdf_lut.bsl.hh.
Referenced by eval(), and from_coords().
| float3 eevee::lut::GGXBsdfClosure::V |
Definition at line 110 of file eevee_bxdf_lut.bsl.hh.
Referenced by eval(), and from_coords().