{"id":5913,"date":"2024-12-11T22:24:49","date_gmt":"2024-12-11T20:24:49","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5913"},"modified":"2024-12-11T22:26:10","modified_gmt":"2024-12-11T20:26:10","slug":"motionvector-effect-object-disappears-when-paused","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2024\/12\/11\/motionvector-effect-object-disappears-when-paused\/","title":{"rendered":"MotionVector Effect: Object &#8220;disappears&#8221; when paused"},"content":{"rendered":"\n<p>Tried to make similar effect like this:<br><a href=\"https:\/\/x.com\/80Level\/status\/1866460357566370049\">https:\/\/x.com\/80Level\/status\/1866460357566370049<\/a><\/p>\n\n\n\n<p>Looks ok, took some effort to find motionvector info..<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/12\/motionfx.gif?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"519\" data-attachment-id=\"5914\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2024\/12\/11\/motionvector-effect-object-disappears-when-paused\/motionfx\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/12\/motionfx.gif?fit=627%2C519&amp;ssl=1\" data-orig-size=\"627,519\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"motionfx\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/12\/motionfx.gif?fit=300%2C248&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/12\/motionfx.gif?fit=627%2C519&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/12\/motionfx.gif?resize=627%2C519&#038;ssl=1\" alt=\"\" class=\"wp-image-5914\"\/><\/a><\/figure>\n\n\n\n<p><strong>Source:<\/strong> (shader and blit script)<br><a href=\"https:\/\/gist.github.com\/unitycoder\/2b39d009505895169ef0fd34fe9b3aa2\">https:\/\/gist.github.com\/unitycoder\/2b39d009505895169ef0fd34fe9b3aa2<\/a><br><\/p>\n\n\n\n<p><strong>Resources:<\/strong><br>&#8211; Noise texture generator: <a href=\"https:\/\/tools.unitycoder.com\/RandomNoiseTextureGenerator\/\">https:\/\/tools.unitycoder.com\/RandomNoiseTextureGenerator\/<\/a><br>&#8211; 512&#215;512 noise texture: <a href=\"https:\/\/github.com\/unitycoder\/GraphicsAndTexturesThatYouAlwaysNeed\/blob\/master\/Noise\/RandomGrayscaleNoise512x512.png\">https:\/\/github.com\/unitycoder\/GraphicsAndTexturesThatYouAlwaysNeed\/blob\/master\/Noise\/RandomGrayscaleNoise512x512.png<\/a><\/p>\n\n\n\n<p><strong>Making of:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/Qc_Zx369QPA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tried to make similar effect like this:https:\/\/x.com\/80Level\/status\/1866460357566370049 Looks ok, took some effort to find motionvector info.. Source: (shader and blit script)https:\/\/gist.github.com\/unitycoder\/2b39d009505895169ef0fd34fe9b3aa2 Resources:&#8211; Noise texture generator: https:\/\/tools.unitycoder.com\/RandomNoiseTextureGenerator\/&#8211; 512&#215;512 noise texture: https:\/\/github.com\/unitycoder\/GraphicsAndTexturesThatYouAlwaysNeed\/blob\/master\/Noise\/RandomGrayscaleNoise512x512.png Making of:<\/p>\n","protected":false},"author":1,"featured_media":5914,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[13],"tags":[1300,14],"class_list":["post-5913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-shaders","tag-motionvector","tag-shader"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/12\/motionfx.gif?fit=627%2C519&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1xn","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5913"}],"version-history":[{"count":2,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5913\/revisions"}],"predecessor-version":[{"id":5916,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5913\/revisions\/5916"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5914"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}