{"id":5192,"date":"2020-03-05T12:46:32","date_gmt":"2020-03-05T10:46:32","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5192"},"modified":"2020-03-05T12:47:19","modified_gmt":"2020-03-05T10:47:19","slug":"shader-drawing-circles-pattern","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2020\/03\/05\/shader-drawing-circles-pattern\/","title":{"rendered":"Shader: Drawing Circles Pattern"},"content":{"rendered":"\n<p>Drawing Pattern of Circles in shader. (test for this <a rel=\"noreferrer noopener\" aria-label=\"forum topic (opens in a new tab)\" href=\"https:\/\/forum.unity.com\/threads\/ideas-how-to-do-this-effect.839392\/\" target=\"_blank\">forum topic<\/a>)<\/p>\n\n\n\n<p><strong>Shader:<\/strong><br><a href=\"https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/2D\/Patterns\/CirclesPattern.shader\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/2D\/Patterns\/CirclesPattern.shader (opens in a new tab)\">https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/2D\/Patterns\/CirclesPattern.shader<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"438\" height=\"291\" data-attachment-id=\"5194\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2020\/03\/05\/shader-drawing-circles-pattern\/circles-pattern-shader\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/circles-pattern-shader.gif?fit=438%2C291&amp;ssl=1\" data-orig-size=\"438,291\" 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=\"circles-pattern-shader\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/circles-pattern-shader.gif?fit=438%2C291&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/circles-pattern-shader.gif?resize=438%2C291&#038;ssl=1\" alt=\"\" class=\"wp-image-5194\"\/><figcaption>Screenshot<\/figcaption><\/figure>\n\n\n\n<p><strong>References:<\/strong><br>&#8211; Drawing Shapes : <a href=\"https:\/\/thebookofshaders.com\/07\/\">https:\/\/thebookofshaders.com\/07\/<\/a><br>&#8211; Drawing Patterns : <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/thebookofshaders.com\/09\/\" target=\"_blank\">https:\/\/thebookofshaders.com\/09\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"301\" height=\"183\" data-attachment-id=\"5196\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2020\/03\/05\/shader-drawing-circles-pattern\/image-21\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/image.png?fit=301%2C183&amp;ssl=1\" data-orig-size=\"301,183\" 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=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/image.png?fit=301%2C183&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/image.png?resize=301%2C183&#038;ssl=1\" alt=\"\" class=\"wp-image-5196\"\/><figcaption>Shader settings<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Drawing Pattern of Circles in shader. (test for this forum topic) Shader:https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Shaders\/2D\/Patterns\/CirclesPattern.shader References:&#8211; Drawing Shapes : https:\/\/thebookofshaders.com\/07\/&#8211; Drawing Patterns : https:\/\/thebookofshaders.com\/09\/<\/p>\n","protected":false},"author":1,"featured_media":5194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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},"jetpack_post_was_ever_published":false},"categories":[13,1],"tags":[1159,869,14],"class_list":["post-5192","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-shaders","category-uncategorized","tag-circles","tag-pattern","tag-shader"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2020\/03\/circles-pattern-shader.gif?fit=438%2C291&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1lK","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5192","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=5192"}],"version-history":[{"count":3,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5192\/revisions"}],"predecessor-version":[{"id":5197,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5192\/revisions\/5197"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5194"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}