|
Blender
V3.3
|
#include "gpu_shader_create_info.hh"Go to the source code of this file.
Surface Velocity | |
Combined with the depth prepass 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 [] | |
| Frequency::PASS | vec4 |
| Frequency::PASS | velocity_geo_prev_buf [] |
| Frequency::PASS Frequency::PASS | VelocityIndex |
| Frequency::PASS Frequency::PASS | velocity_indirection_buf [] |
| smooth(Type::VEC3, "prev") .smooth(Type | define ("VELOCITY_CAMERA") .uniform_buf(1 |
| smooth(Type::VEC3, "prev") .smooth(Type camera_prev | uniform_buf (2, "CameraData", "camera_curr") .uniform_buf(3 |
| define ("MAT_VELOCITY") .auto_resource_location(true) .storage_buf(4 | |
| Frequency::PASS | storage_buf (5, Qualifier::READ, "mat4", "velocity_obj_next_buf[]", Frequency::PASS) .storage_buf(6 |
| Frequency::PASS Frequency::PASS | storage_buf (7, Qualifier::READ, "vec4", "velocity_geo_next_buf[]", Frequency::PASS) .storage_buf(7 |
| Frequency::PASS Frequency::PASS Frequency::PASS | vertex_out (eevee_velocity_surface_iface) .fragment_out(0 |
| Frequency::PASS Frequency::PASS Frequency::PASS out_velocity | additional_info ("eevee_velocity_camera") |
| Frequency::PASS Frequency::PASS Frequency::PASS out_velocity additional_info | ( | "eevee_velocity_camera" | ) |
| define | ( | "MAT_VELOCITY" | ) |
| smooth (Type::VEC3, "prev") .smooth(Type define | ( | "VELOCITY_CAMERA" | ) |
| Frequency::PASS storage_buf | ( | 5 | , |
| Qualifier::READ | , | ||
| "mat4" | , | ||
| "velocity_obj_next_buf" | [], | ||
| Frequency::PASS | |||
| ) |
| Frequency::PASS Frequency::PASS storage_buf | ( | 7 | , |
| Qualifier::READ | , | ||
| "vec4" | , | ||
| "velocity_geo_next_buf" | [], | ||
| Frequency::PASS | |||
| ) |
| smooth (Type::VEC3, "prev") .smooth(Type camera_prev uniform_buf | ( | 2 | , |
| "CameraData" | , | ||
| "camera_curr" | |||
| ) |
| Frequency::PASS Frequency::PASS Frequency::PASS vertex_out | ( | eevee_velocity_surface_iface | ) |
| smooth (Type::VEC3, "prev") .smooth(Type camera_prev camera_next |
Definition at line 22 of file eevee_velocity_info.hh.
| smooth (Type::VEC3, "prev") .smooth(Type camera_prev CameraData |
Definition at line 20 of file eevee_velocity_info.hh.
Referenced by blender::eevee::Camera::init(), blender::eevee::VelocityModule::step_camera_sync(), blender::eevee::Camera::sync(), and blender::eevee::ShadingView::sync().
| mat4 |
Definition at line 27 of file eevee_velocity_info.hh.
Referenced by applyRotationMatrix(), applyTrackballMatrix(), AnimationImporter::Assign_transform_animations(), DocumentImporter::create_instance_node(), and ED_view3d_win_to_3d_on_plane_with_fallback().
| Frequency::PASS vec4 |
Definition at line 29 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().
| Frequency::PASS velocity_geo_prev_buf[] |
Definition at line 29 of file eevee_velocity_info.hh.
| Frequency::PASS Frequency::PASS velocity_indirection_buf[] |
Definition at line 32 of file eevee_velocity_info.hh.
| velocity_obj_prev_buf[] |
Definition at line 27 of file eevee_velocity_info.hh.
| Frequency::PASS Frequency::PASS VelocityIndex |
Definition at line 32 of file eevee_velocity_info.hh.