|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| float3 | fresnel_conductor (float cosi, float3 eta, float3 k) |
| void | node_bsdf_metallic (float4 base_color, float4 edge_tint, float3 ior, float3 extinction, float roughness, float, float, float3 N, float3, float weight, float, float, const float do_multiscatter, const float use_complex_ior, KernelGlobals &kg, ShadingData &sd, Closure &result) |
Definition at line 10 of file gpu_shader_material_metallic.bsl.hh.
References fresnel_conductor().
Referenced by fresnel_conductor(), fresnel_conductor(), fresnel_conductor(), fresnel_conductor_Fss(), microfacet_fresnel(), and node_bsdf_metallic().
| void node_bsdf_metallic | ( | float4 | base_color, |
| float4 | edge_tint, | ||
| float3 | ior, | ||
| float3 | extinction, | ||
| float | roughness, | ||
| float | , | ||
| float | , | ||
| float3 | N, | ||
| float3 | , | ||
| float | weight, | ||
| float | , | ||
| float | , | ||
| const float | do_multiscatter, | ||
| const float | use_complex_ior, | ||
| KernelGlobals & | kg, | ||
| ShadingData & | sd, | ||
| Closure & | result ) |
Definition at line 26 of file gpu_shader_material_metallic.bsl.hh.
References brdf_f82_tint_lut(), Closure, closure_eval(), coordinate_impl(), dot(), fresnel_conductor(), Coordinates::incoming, N, ShadingData::N, node_bsdf_metallic(), ShadingData::P, resource_table, safe_normalize(), saturate, and V.
Referenced by node_bsdf_metallic().