|
Blender V5.3
|
#include <eevee_bxdf_lut_lib.bsl.hh>
Public Member Functions | |
| float4 | pack () const |
Static Public Member Functions | |
| static GGXBrdfData | unpack (float4 data) |
| static float2 | lut_coords_get (float cos_theta, float roughness) |
| static GGXBrdfData | sample_utility_tx (const UtilityTexture &util_tx, float cos_theta, float roughness) |
Public Attributes | |
| float | scale |
| float | bias |
| float | metal_bias |
Output from the 2D GGX BRDF LUT.
The result is interpreted as:
Definition at line 26 of file eevee_bxdf_lut_lib.bsl.hh.
Definition at line 41 of file eevee_bxdf_lut_lib.bsl.hh.
References cos_theta(), saturate, and sqrt.
Referenced by sample_utility_tx().
|
inline |
Definition at line 31 of file eevee_bxdf_lut_lib.bsl.hh.
References bias, metal_bias, and scale.
|
inlinestatic |
Definition at line 46 of file eevee_bxdf_lut_lib.bsl.hh.
References cos_theta(), lut_coords_get(), UtilityTexture::sample_lut(), unpack(), and UTIL_BRDF_LAYER.
Referenced by brdf_f82_tint_lut(), brdf_lut(), and bsdf_lut().
|
inlinestatic |
Definition at line 36 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by sample_utility_tx().
| float eevee::lut::GGXBrdfData::bias |
Definition at line 28 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by eevee::lut::GGXBrdfClosure::eval(), and pack().
| float eevee::lut::GGXBrdfData::metal_bias |
Definition at line 29 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by brdf_f82_tint_lut(), eevee::lut::GGXBrdfClosure::eval(), and pack().
| float eevee::lut::GGXBrdfData::scale |
Definition at line 27 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by eevee::lut::GGXBrdfClosure::eval(), and pack().