|
Blender V5.3
|
Classes | |
| struct | GGXBrdfClosure |
| struct | GGXBrdfData |
| struct | GGXBsdfClosure |
| struct | GGXBsdfData |
| struct | GGXBtdfGt1Closure |
| struct | GGXBtdfGt1Data |
| struct | LUT |
Functions | |
LUT models | |
| float4 | burley_sss_translucency (float3 coords) |
| float4 | random_walk_sss_translucency (float3 coords) |
LUT computation, integration | |
| template<typename F> | |
| float4 | integrate (const F &func) |
| template float4 | integrate< GGXBrdfClosure > (const GGXBrdfClosure &) |
| template float4 | integrate< GGXBsdfClosure > (const GGXBsdfClosure &) |
| template float4 | integrate< GGXBtdfGt1Closure > (const GGXBtdfGt1Closure &) |
| void | comp_main (const uint3 global_id, LUT &lut) |
Variables | |
| PipelineCompute | comp (comp_main) |
Pipelines to generate Look Up Tables for BxDFs. Not used in the default configuration as the tables are stored in the blender executable. This is used for reference or to update them.
Wrapper objects for data from Look Up Tables for BxDFs. Refer to eevee_bxdf_lut.bsl.hh for table computation.
Generate Christensen-Burley translucency profile.
Generally follows: [Extending the Disney BRDF to a BSDF with Integrated Subsurface Scattering] (https://blog.selfshadow.com/publications/s2015-shading-course/burley/s2015_pbs_disney_bsdf_notes.pdf) with empirical fitting to match cycles. Precomputes exit radiance for a slab of homogeneous material, back-lit by a directional light. We only care about a single color primary, as the profile is applied to each primary independently. The other components are for debugging.
Parameters: x = distance, while output is interpreted as exit radiance.
Definition at line 255 of file eevee_bxdf_lut.bsl.hh.
References burley_sss_translucency(), exp, mix, pow, pow5f(), saturate, square(), and float3::x.
Referenced by burley_sss_translucency(), and comp_main().
Definition at line 338 of file eevee_bxdf_lut.bsl.hh.
References burley_sss_translucency(), comp_main(), eevee::lut::GGXBrdfClosure::from_coords(), eevee::lut::GGXBsdfClosure::from_coords(), eevee::lut::GGXBtdfGt1Closure::from_coords(), global_invocation_id, imageStore(), integrate(), random_walk_sss_translucency(), and resource_table.
Referenced by comp_main().
Definition at line 308 of file eevee_bxdf_lut.bsl.hh.
References F, float, random::hammersley_2d(), integrate(), and sample_cylinder().
Referenced by comp_main(), integrate(), integrate< GGXBrdfClosure >(), integrate< GGXBsdfClosure >(), and integrate< GGXBtdfGt1Closure >().
| template float4 eevee::lut::integrate< GGXBrdfClosure > | ( | const GGXBrdfClosure & | ) |
References integrate().
| template float4 eevee::lut::integrate< GGXBsdfClosure > | ( | const GGXBsdfClosure & | ) |
References integrate().
| template float4 eevee::lut::integrate< GGXBtdfGt1Closure > | ( | const GGXBtdfGt1Closure & | ) |
References integrate().
Definition at line 278 of file eevee_bxdf_lut.bsl.hh.
References dot(), exp, pow5f(), random_walk_sss_translucency(), saturate, scale(), and float3::x.
Referenced by comp_main(), and random_walk_sss_translucency().
| PipelineCompute eevee::lut::comp(comp_main) | ( | comp_main | ) |