{"id":864,"date":"2014-08-11T07:03:38","date_gmt":"2014-08-11T07:03:38","guid":{"rendered":"http:\/\/lousodrome.net\/blog\/light\/?p=864"},"modified":"2014-08-11T07:03:38","modified_gmt":"2014-08-11T07:03:38","slug":"the-frame-debugger-in-unity-5","status":"publish","type":"post","link":"https:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/","title":{"rendered":"The frame debugger in Unity 5"},"content":{"rendered":"<p><a href=\"http:\/\/twitter.com\/aras_p\/\">Aras Pranckevi\u010dius<\/a> wrote on the Unity blog about the new frame debugger feature they added to their editor: <a href=\"http:\/\/blogs.unity3d.com\/2014\/07\/29\/frame-debugger-in-unity-5-0\/\">Frame Debugger in Unity 5.0<\/a>. The hack, he calls it, is very simple and just consists in interrupting the rendering at a given stage and display whichever frame buffer was active at the moment. Just a couple of days of work; most of the work went into the editor UI.<\/p>\n<p>From the article:<\/p>\n<blockquote><p>There\u2019s no actual \u201cframe capture\u201d going on; pretty much all we do is <em>stop rendering<\/em> after some number of draw calls. So if you\u2019re looking at a frame that would have 100 objects rendered and you\u2019re looking at object #10 right now, then we just skip rendering the remaining 90. If at that point in time we happen to be rendering into a render texture, then we display it on the screen.<\/p>\n<p>This means the implementation is simple; getting functionality working was only a few days of work <em>(and then a few weeks iterating on the UI)<\/em>.<\/p><\/blockquote>\n<div style=\"width: 510px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/blogs.unity3d.com\/2014\/07\/29\/frame-debugger-in-unity-5-0\/\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blogs.unity3d.com\/wp-content\/uploads\/2014\/07\/FrameDebugAnimDepth.gif\" alt=\"Illustration\" width=\"500\" height=\"208\" \/><\/a><p class=\"wp-caption-text\">Illustration from the article: &#8220;Here we are stepping through the draw calls of depth texture creation, in glorious animated GIF form&#8221;<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Aras Pranckevi\u010dius wrote on the Unity blog about the new frame debugger feature they added to their editor: Frame Debugger in Unity 5.0. The hack, he calls it, is very simple and just consists in interrupting the rendering at a &hellip; <a href=\"https:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[170,538,105,388,550,34,148,433],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The frame debugger in Unity 5 &ndash; Light is beautiful<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The frame debugger in Unity 5 &ndash; Light is beautiful\" \/>\n<meta property=\"og:description\" content=\"Aras Pranckevi\u010dius wrote on the Unity blog about the new frame debugger feature they added to their editor: Frame Debugger in Unity 5.0. The hack, he calls it, is very simple and just consists in interrupting the rendering at a &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\" \/>\n<meta property=\"og:site_name\" content=\"Light is beautiful\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-11T07:03:38+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/blogs.unity3d.com\/wp-content\/uploads\/2014\/07\/FrameDebugAnimDepth.gif\" \/>\n<meta name=\"author\" content=\"Julien Guertault\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Zavie\" \/>\n<meta name=\"twitter:site\" content=\"@Zavie\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Guertault\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\"},\"author\":{\"name\":\"Julien Guertault\",\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f\"},\"headline\":\"The frame debugger in Unity 5\",\"datePublished\":\"2014-08-11T07:03:38+00:00\",\"dateModified\":\"2014-08-11T07:03:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\"},\"wordCount\":200,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f\"},\"keywords\":[\"article\",\"debug\",\"editor\",\"framebuffer\",\"hack\",\"real-time rendering\",\"tool\",\"Unity\"],\"articleSection\":[\"Rendering\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\",\"url\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\",\"name\":\"The frame debugger in Unity 5 &ndash; Light is beautiful\",\"isPartOf\":{\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#website\"},\"datePublished\":\"2014-08-11T07:03:38+00:00\",\"dateModified\":\"2014-08-11T07:03:38+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lousodrome.net\/blog\/light\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The frame debugger in Unity 5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#website\",\"url\":\"https:\/\/lousodrome.net\/blog\/light\/\",\"name\":\"Light is beautiful\",\"description\":\"Thoughts of a graphics programmer, demoscener and spare time photographer\",\"publisher\":{\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lousodrome.net\/blog\/light\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f\",\"name\":\"Julien Guertault\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2e5fc7a18e1701e1bb61a5da0ef35cf7?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2e5fc7a18e1701e1bb61a5da0ef35cf7?s=96&d=identicon&r=g\",\"caption\":\"Julien Guertault\"},\"logo\":{\"@id\":\"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/lousodrome.net\/blog\/light\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The frame debugger in Unity 5 &ndash; Light is beautiful","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/","og_locale":"en_US","og_type":"article","og_title":"The frame debugger in Unity 5 &ndash; Light is beautiful","og_description":"Aras Pranckevi\u010dius wrote on the Unity blog about the new frame debugger feature they added to their editor: Frame Debugger in Unity 5.0. The hack, he calls it, is very simple and just consists in interrupting the rendering at a &hellip; Continue reading &rarr;","og_url":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/","og_site_name":"Light is beautiful","article_published_time":"2014-08-11T07:03:38+00:00","og_image":[{"url":"http:\/\/blogs.unity3d.com\/wp-content\/uploads\/2014\/07\/FrameDebugAnimDepth.gif"}],"author":"Julien Guertault","twitter_card":"summary_large_image","twitter_creator":"@Zavie","twitter_site":"@Zavie","twitter_misc":{"Written by":"Julien Guertault","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#article","isPartOf":{"@id":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/"},"author":{"name":"Julien Guertault","@id":"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f"},"headline":"The frame debugger in Unity 5","datePublished":"2014-08-11T07:03:38+00:00","dateModified":"2014-08-11T07:03:38+00:00","mainEntityOfPage":{"@id":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/"},"wordCount":200,"commentCount":0,"publisher":{"@id":"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f"},"keywords":["article","debug","editor","framebuffer","hack","real-time rendering","tool","Unity"],"articleSection":["Rendering"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/","url":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/","name":"The frame debugger in Unity 5 &ndash; Light is beautiful","isPartOf":{"@id":"https:\/\/lousodrome.net\/blog\/light\/#website"},"datePublished":"2014-08-11T07:03:38+00:00","dateModified":"2014-08-11T07:03:38+00:00","breadcrumb":{"@id":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/lousodrome.net\/blog\/light\/2014\/08\/11\/the-frame-debugger-in-unity-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lousodrome.net\/blog\/light\/"},{"@type":"ListItem","position":2,"name":"The frame debugger in Unity 5"}]},{"@type":"WebSite","@id":"https:\/\/lousodrome.net\/blog\/light\/#website","url":"https:\/\/lousodrome.net\/blog\/light\/","name":"Light is beautiful","description":"Thoughts of a graphics programmer, demoscener and spare time photographer","publisher":{"@id":"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lousodrome.net\/blog\/light\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/a16a2a69d73eca763ffdf125c49eaa2f","name":"Julien Guertault","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2e5fc7a18e1701e1bb61a5da0ef35cf7?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2e5fc7a18e1701e1bb61a5da0ef35cf7?s=96&d=identicon&r=g","caption":"Julien Guertault"},"logo":{"@id":"https:\/\/lousodrome.net\/blog\/light\/#\/schema\/person\/image\/"},"url":"https:\/\/lousodrome.net\/blog\/light\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/posts\/864"}],"collection":[{"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/comments?post=864"}],"version-history":[{"count":0,"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/posts\/864\/revisions"}],"wp:attachment":[{"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/media?parent=864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/categories?post=864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lousodrome.net\/blog\/light\/wp-json\/wp\/v2\/tags?post=864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}