|
Blender V5.3
|
#include <eevee_bxdf_lut.bsl.hh>
Public Member Functions | |
| GGXBtdfGt1Data | eval (float3 Xi) const |
Static Public Member Functions | |
| static GGXBtdfGt1Closure | from_coords (float3 coords) |
Public Attributes | |
| float | roughness |
| float | ior |
| float3 | V |
Generate 3D GGX BTDF LUT, for IOR > 1.
Using Schlick's approximation; only the transmittance is needed because scale and bias do not depend on the IOR, and can be obtained independently from the BRDF LUT.
The 3D LUT is parameterized on:
and output is interpreted as:
Definition at line 195 of file eevee_bxdf_lut.bsl.hh.
|
inline |
Definition at line 217 of file eevee_bxdf_lut.bsl.hh.
References abs, bxdf_ggx_eval_refraction(), bxdf_ggx_sample_refraction(), dot(), H, ior, L, N, NL, normalize, pow5f(), roughness, saturate, eevee::lut::GGXBtdfGt1Data::transmission_factor, and V.
|
inlinestatic |
| float eevee::lut::GGXBtdfGt1Closure::ior |
Definition at line 197 of file eevee_bxdf_lut.bsl.hh.
Referenced by eval(), and from_coords().
| float eevee::lut::GGXBtdfGt1Closure::roughness |
Definition at line 196 of file eevee_bxdf_lut.bsl.hh.
Referenced by eval(), and from_coords().
| float3 eevee::lut::GGXBtdfGt1Closure::V |
Definition at line 198 of file eevee_bxdf_lut.bsl.hh.
Referenced by eval(), and from_coords().