|
Blender V5.3
|
#include "gpu_shader_material_interface.bsl.hh"Go to the source code of this file.
Functions | |
| void | node_wireframe (float size, const ShadingData &sd, float &fac) |
| void | node_wireframe_screenspace (float size, KernelGlobals &kg, const ShadingData &sd, float &fac) |
| void node_wireframe | ( | float | size, |
| const ShadingData & | sd, | ||
| float & | fac ) |
Definition at line 10 of file gpu_shader_material_wireframe.bsl.hh.
References ShadingData::barycentric_coords, ShadingData::barycentric_dists, max, node_wireframe(), size(), step, float3::x, float3::y, and float3::z.
Referenced by node_wireframe().
| void node_wireframe_screenspace | ( | float | size, |
| KernelGlobals & | kg, | ||
| const ShadingData & | sd, | ||
| float & | fac ) |
Definition at line 22 of file gpu_shader_material_wireframe.bsl.hh.
References ShadingData::barycentric_coords, derivative_scale_get(), gpu_dfdx(), gpu_dfdy(), max, node_wireframe_screenspace(), resource_table, size(), sqrt, step, float3::x, float3::y, and float3::z.
Referenced by node_wireframe_screenspace().