|
Blender V5.3
|
#include <eevee_bxdf_lut_lib.bsl.hh>
Public Member Functions | |
| float4 | pack () const |
Static Public Member Functions | |
| static GGXBsdfData | unpack (float4 data) |
| static float3 | lut_coords_get (float cos_theta, float roughness, float ior) |
| static GGXBsdfData | sample_utility_tx (const UtilityTexture &util_tx, float cos_theta, float roughness, float ior) |
Public Attributes | |
| float | scale |
| float | bias |
| float | transmission_factor |
Output from the 3D GGX BSDF LUT.
The result is interpreted as:
Definition at line 63 of file eevee_bxdf_lut_lib.bsl.hh.
|
inlinestatic |
Definition at line 78 of file eevee_bxdf_lut_lib.bsl.hh.
References cos_theta(), saturate, sqrt, square(), float3::x, float3::y, and float3::z.
Referenced by sample_utility_tx().
|
inline |
Definition at line 68 of file eevee_bxdf_lut_lib.bsl.hh.
References bias, scale, and transmission_factor.
|
inlinestatic |
Definition at line 94 of file eevee_bxdf_lut_lib.bsl.hh.
References cos_theta(), lut_coords_get(), UtilityTexture::sample_bsdf_lut(), unpack(), and float3::z.
Referenced by bsdf_lut().
|
inlinestatic |
Definition at line 73 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by sample_utility_tx().
| float eevee::lut::GGXBsdfData::bias |
Definition at line 65 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by bsdf_lut(), eevee::lut::GGXBsdfClosure::eval(), and pack().
| float eevee::lut::GGXBsdfData::scale |
Definition at line 64 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by bsdf_lut(), eevee::lut::GGXBsdfClosure::eval(), and pack().
| float eevee::lut::GGXBsdfData::transmission_factor |
Definition at line 66 of file eevee_bxdf_lut_lib.bsl.hh.
Referenced by bsdf_lut(), eevee::lut::GGXBsdfClosure::eval(), and pack().