Blender V5.3
eevee::lut::GGXBtdfGt1Data Struct Reference

#include <eevee_bxdf_lut_lib.bsl.hh>

Public Member Functions

float4 pack () const

Static Public Member Functions

static GGXBtdfGt1Data unpack (float4 data)
static float3 lut_coords_get (float cos_theta, float roughness, float f0)
static GGXBtdfGt1Data sample_utility_tx (const UtilityTexture &util_tx, float cos_theta, float roughness, float f0)

Public Attributes

float transmission_factor

Detailed Description

Output from the 3D GGX BTDF LUT, for IOR > 1.

The result is interpreted as:

Definition at line 111 of file eevee_bxdf_lut_lib.bsl.hh.

Member Function Documentation

◆ lut_coords_get()

float3 eevee::lut::GGXBtdfGt1Data::lut_coords_get ( float cos_theta,
float roughness,
float f0 )
inlinestatic

Definition at line 124 of file eevee_bxdf_lut_lib.bsl.hh.

References cos_theta(), and sqrt.

Referenced by sample_utility_tx().

◆ pack()

float4 eevee::lut::GGXBtdfGt1Data::pack ( ) const
inline

Definition at line 114 of file eevee_bxdf_lut_lib.bsl.hh.

References transmission_factor.

◆ sample_utility_tx()

GGXBtdfGt1Data eevee::lut::GGXBtdfGt1Data::sample_utility_tx ( const UtilityTexture & util_tx,
float cos_theta,
float roughness,
float f0 )
inlinestatic

◆ unpack()

GGXBtdfGt1Data eevee::lut::GGXBtdfGt1Data::unpack ( float4 data)
inlinestatic

Definition at line 119 of file eevee_bxdf_lut_lib.bsl.hh.

Referenced by sample_utility_tx().

Member Data Documentation

◆ transmission_factor

float eevee::lut::GGXBtdfGt1Data::transmission_factor

Definition at line 112 of file eevee_bxdf_lut_lib.bsl.hh.

Referenced by bsdf_lut(), eevee::lut::GGXBtdfGt1Closure::eval(), and pack().


The documentation for this struct was generated from the following file: