Blender V5.3
eevee::detail Namespace Reference

Functions

float2 get_isotropic_coords (float cos_theta, float roughness)
float3x3 unpack_isotropic_matrix (float4 v)

Function Documentation

◆ get_isotropic_coords()

float2 eevee::detail::get_isotropic_coords ( float cos_theta,
float roughness )

Given BxDF parameters, return UV coordinates for sampling of the isotropic LTC LUT.

Definition at line 19 of file eevee_ltc_lut_lib.bsl.hh.

References cos_theta(), get_isotropic_coords(), saturate, and sqrt.

Referenced by get_isotropic_coords(), and eevee::LTCData::sample_ltc_lut().

◆ unpack_isotropic_matrix()

float3x3 eevee::detail::unpack_isotropic_matrix ( float4 v)

Given 4 isotropic LTC LUT values, unpack a 3x3 matrix normalized by its central component.

Definition at line 27 of file eevee_ltc_lut_lib.bsl.hh.

References unpack_isotropic_matrix().

Referenced by eevee::LTCData::sample_ltc_lut(), and unpack_isotropic_matrix().