|
Blender V4.3
|
Go to the source code of this file.
Surface Velocity | |
Combined with the depth pre-pass shader. Outputs the view motion vectors for animated objects. | |
| smooth(Type::VEC3, "prev") .smooth(Type | CameraData |
| smooth(Type::VEC3, "prev") .smooth(Type camera_prev | camera_next |
| mat4 | |
| velocity_obj_prev_buf[] | vec4 |
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] | VelocityIndex |
| float | |
| smooth(Type::VEC3, "prev") .smooth(Type | define ("VELOCITY_CAMERA") .uniform_buf(VELOCITY_CAMERA_PREV_BUF |
| smooth(Type::VEC3, "prev") .smooth(Type camera_prev | uniform_buf (VELOCITY_CAMERA_CURR_BUF, "CameraData", "camera_curr") .uniform_buf(VELOCITY_CAMERA_NEXT_BUF |
| define ("MAT_VELOCITY") .storage_buf(VELOCITY_OBJ_PREV_BUF_SLOT | |
| velocity_obj_prev_buf[] | storage_buf (VELOCITY_OBJ_NEXT_BUF_SLOT, Qualifier::READ, "mat4", "velocity_obj_next_buf[]") .storage_buf(VELOCITY_GEO_PREV_BUF_SLOT |
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] | storage_buf (VELOCITY_GEO_NEXT_BUF_SLOT, Qualifier::READ, "vec4", "velocity_geo_next_buf[]") .storage_buf(VELOCITY_INDIRECTION_BUF_SLOT |
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] velocity_indirection_buf[] | vertex_out (eevee_velocity_surface_iface) .fragment_out(0 |
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] velocity_indirection_buf[] out_velocity | additional_info ("eevee_velocity_camera") |
| compute_source ("eevee_vertex_copy_comp.glsl") .local_group_size(VERTEX_COPY_GROUP_SIZE) .storage_buf(0 | |
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] velocity_indirection_buf[] out_velocity additional_info | ( | "eevee_velocity_camera" | ) |
| compute_source | ( | "eevee_vertex_copy_comp.glsl" | ) |
References VERTEX_COPY_GROUP_SIZE.
| define | ( | "MAT_VELOCITY" | ) |
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] storage_buf | ( | VELOCITY_GEO_NEXT_BUF_SLOT | , |
| Qualifier::READ | , | ||
| "vec4" | , | ||
| "velocity_geo_next_buf" | [] ) |
References VELOCITY_GEO_NEXT_BUF_SLOT, and VELOCITY_INDIRECTION_BUF_SLOT.
| velocity_obj_prev_buf[] storage_buf | ( | VELOCITY_OBJ_NEXT_BUF_SLOT | , |
| Qualifier::READ | , | ||
| "mat4" | , | ||
| "velocity_obj_next_buf" | [] ) |
References VELOCITY_OBJ_NEXT_BUF_SLOT.
| smooth(Type::VEC3, "prev") .smooth(Type camera_prev uniform_buf | ( | VELOCITY_CAMERA_CURR_BUF | , |
| "CameraData" | , | ||
| "camera_curr" | ) |
References VELOCITY_CAMERA_CURR_BUF.
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] velocity_indirection_buf[] vertex_out | ( | eevee_velocity_surface_iface | ) |
Definition at line 25 of file eevee_velocity_info.hh.
Definition at line 23 of file eevee_velocity_info.hh.
| float |
Definition at line 44 of file eevee_velocity_info.hh.
| mat4 |
Definition at line 29 of file eevee_velocity_info.hh.
Referenced by applyRotationMatrix(), applyTrackballMatrix(), AnimationImporter::Assign_transform_animations(), DocumentImporter::create_instance_node(), ED_view3d_win_to_3d_on_plane_with_fallback(), blender::io::usd::import_skeleton(), and resize_transform_matrix_fn().
| vec4 |
Definition at line 31 of file eevee_velocity_info.hh.
Referenced by ed_view3d_project__internal(), ED_view3d_project_float_v2_m4(), and ED_view3d_project_float_v3_m4().
| velocity_obj_prev_buf[] velocity_geo_prev_buf[] VelocityIndex |
Definition at line 35 of file eevee_velocity_info.hh.