|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| void | node_bsdf_glass (float4 color, float roughness, float, float, float ior, float3 N, float3, float weight, float, float, const float do_multiscatter, KernelGlobals &kg, ShadingData &sd, Closure &result) |
| void node_bsdf_glass | ( | float4 | color, |
| float | roughness, | ||
| float | , | ||
| float | , | ||
| float | ior, | ||
| float3 | N, | ||
| float3 | , | ||
| float | weight, | ||
| float | , | ||
| float | , | ||
| const float | do_multiscatter, | ||
| KernelGlobals & | kg, | ||
| ShadingData & | sd, | ||
| Closure & | result ) |
Definition at line 11 of file gpu_shader_material_glass.bsl.hh.
References bsdf_lut(), Closure, closure_eval(), coordinate_impl(), dot(), Coordinates::incoming, max, N, ShadingData::N, node_bsdf_glass(), ShadingData::P, resource_table, safe_normalize(), saturate, V, float2::x, and float2::y.
Referenced by node_bsdf_glass().