{"id":5290,"date":"2020-11-04T12:56:49","date_gmt":"2020-11-04T10:56:49","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5290"},"modified":"2020-11-04T13:00:40","modified_gmt":"2020-11-04T11:00:40","slug":"linerenderer-with-outline-shader","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2020\/11\/04\/linerenderer-with-outline-shader\/","title":{"rendered":"LineRenderer with Outline Shader"},"content":{"rendered":"\n<p>Tried using sprite outline shader with LineRenderer, works surprisingly well <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"630\" data-attachment-id=\"5292\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2020\/11\/04\/linerenderer-with-outline-shader\/upload_2020-11-4_11-13-22\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?fit=1267%2C779&amp;ssl=1\" data-orig-size=\"1267,779\" 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=\"upload_2020-11-4_11-13-22\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?fit=1024%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?resize=1024%2C630&#038;ssl=1\" alt=\"\" class=\"wp-image-5292\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?resize=1024%2C630&amp;ssl=1 1024w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?resize=300%2C184&amp;ssl=1 300w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?resize=768%2C472&amp;ssl=1 768w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?w=1267&amp;ssl=1 1267w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p><strong>References:<\/strong><br>Sprite shader source: <a href=\"https:\/\/forum.unity.com\/threads\/help-to-find-an-asset-solution.755273\/#post-5246960\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/forum.unity.com\/threads\/help-to-find-an-asset-solution.755273\/#post-5246960 (opens in a new tab)\">https:\/\/forum.unity.com\/threads\/help-to-find-an-asset-solution.755273\/#post-5246960<\/a> (2nd shader in that post)<br>Forum topic: <a rel=\"noreferrer noopener\" aria-label=\"https:\/\/forum.unity.com\/threads\/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682\/ (opens in a new tab)\" href=\"https:\/\/forum.unity.com\/threads\/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682\/\" target=\"_blank\">https:\/\/forum.unity.com\/threads\/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tried using sprite outline shader with LineRenderer, works surprisingly well References:Sprite shader source: https:\/\/forum.unity.com\/threads\/help-to-find-an-asset-solution.755273\/#post-5246960 (2nd shader in that post)Forum topic: https:\/\/forum.unity.com\/threads\/achieve-a-stroke-transparent-effect-with-the-line-renderer.999682\/<\/p>\n","protected":false},"author":1,"featured_media":5292,"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":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13,1],"tags":[1188,1078,14,1189],"class_list":["post-5290","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-shaders","category-uncategorized","tag-linerenderer","tag-outline","tag-shader","tag-stroke"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/11\/upload_2020-11-4_11-13-22.png?fit=1267%2C779&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1nk","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5290","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=5290"}],"version-history":[{"count":4,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5290\/revisions"}],"predecessor-version":[{"id":5295,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5290\/revisions\/5295"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5292"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}