|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_noinline void | motion_triangle_shader_setup (KernelGlobals *kg, ShaderData *sd, const Intersection *isect, const Ray *ray, bool is_local) |
| CCL_NAMESPACE_BEGIN ccl_device_noinline void motion_triangle_shader_setup | ( | KernelGlobals * | kg, |
| ShaderData * | sd, | ||
| const Intersection * | isect, | ||
| const Ray * | ray, | ||
| bool | is_local | ||
| ) |
Definition at line 35 of file geom_motion_triangle_shader.h.
References ATTR_STD_MOTION_VERTEX_NORMAL, ATTR_STD_MOTION_VERTEX_POSITION, ATTR_STD_NOT_FOUND, cross(), find_attribute_motion(), kernel_assert, kernel_tex_fetch, kg, min, motion_triangle_normals_for_step(), motion_triangle_refine(), motion_triangle_verts_for_step(), normalize(), normals, NULL, object_motion_info(), SD_OBJECT_NEGATIVE_SCALE_APPLIED, SHADER_SMOOTH_NORMAL, t, v, verts, and w().
Referenced by shader_setup_from_ray().