{"id":12429,"date":"2019-05-16T15:00:57","date_gmt":"2019-05-16T06:00:57","guid":{"rendered":"https:\/\/styly.cc\/?p=12429"},"modified":"2019-05-16T14:23:59","modified_gmt":"2019-05-16T05:23:59","slug":"polygondestruction-go-shader","status":"publish","type":"post","link":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/","title":{"rendered":"\u3010Unity\u3011\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc"},"content":{"rendered":"<p><\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_12430\" style=\"width: 1438px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12430\" loading=\"lazy\" class=\"wp-image-12430 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon.gif\" alt=\"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u30b5\u30b6\u30a8\" width=\"1428\" height=\"904\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon.gif 1428w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon-300x190.gif 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon-768x486.gif 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon-1024x648.gif 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon-184x117.gif 184w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SmashPolygon-368x234.gif 368w\" sizes=\"(max-width: 1428px) 100vw, 1428px\" \/><p id=\"caption-attachment-12430\" class=\"wp-caption-text\">\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u30b5\u30b6\u30a8<\/p><\/div>\n<h2><span id=\"i\">\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u5316\u3092\u3064\u3051\u308b<\/span><\/h2>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u5185\u306e\u5024\u3092\u5909\u5316\u3055\u305b\u308b\u3053\u3068\u3067\u63cf\u753b\u7d50\u679c\u306b\u52d5\u304d\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u5909\u5316\u3059\u308b\u5024\u3068\u3057\u3066<strong>\u30ab\u30e1\u30e9\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8ddd\u96e2<\/strong>\u3092\u4f7f\u3044\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ab\u30e1\u30e9\u304c\u52d5\u304f\u3053\u3068\u306b\u3088\u3063\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u304c\u5909\u5316\u3059\u308b\u3068\u3044\u3063\u305f\u6f14\u51fa\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_12436\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12436\" loading=\"lazy\" class=\"size-full wp-image-12436\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/ColorGradient_001.gif\" alt=\"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u8272\u304c\u5909\u308f\u308b\u6f14\u51fa\" width=\"853\" height=\"480\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/ColorGradient_001.gif 853w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/ColorGradient_001-300x169.gif 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/ColorGradient_001-768x432.gif 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><p id=\"caption-attachment-12436\" class=\"wp-caption-text\">\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u8272\u304c\u5909\u308f\u308b\u6f14\u51fa<\/p><\/div>\n<p>Project\u30a6\u30a3\u30f3\u30c9\u30a6\u306e<strong>\u300cCreate\/Shader\/Unlit Shader\u300d<\/strong>\u304b\u3089\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_12431\" style=\"width: 713px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12431\" loading=\"lazy\" class=\"size-large wp-image-12431\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/001-703x1024.png\" alt=\"\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u300cColorGradient\u300d\u3068\u3064\u3051\u307e\u3059\" width=\"703\" height=\"1024\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/001-703x1024.png 703w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/001-206x300.png 206w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/001-768x1119.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/001.png 1036w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><p id=\"caption-attachment-12431\" class=\"wp-caption-text\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u300cColorGradient\u300d\u3068\u3064\u3051\u307e\u3059<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:default decode:true \">Shader \"Custom\/Color Gradient\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_Dsitance (\"Distance\", float) = 3.0\r\n\t\t_FarColor (\"Far Color\", Color) = (0, 0, 0, 1) \r\n\t\t_NearColor (\"Near Color\", Color) = (1, 1, 1, 1)\r\n\t}\r\n\tSubShader\r\n\t{\r\n\t\tTags { \"RenderType\"=\"Opaque\" }\r\n\r\n\t\tPass\r\n\t\t{\r\n\t\t\tCGPROGRAM\r\n\t\t\t#pragma vertex vert\r\n\t\t\t#pragma fragment frag\r\n\t\t\t\r\n\t\t\t#include \"UnityCG.cginc\"\r\n\r\n\t\t\tfloat _Dsitance;\r\n\t\t\tfixed4 _FarColor;\r\n\t\t\tfixed4 _NearColor;\r\n\r\n\t\t\tstruct appdata\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : POSITION;\r\n\t\t\t};\r\n\r\n\t\t\tstruct v2f\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\t\tfloat3 worldPos : TEXCOORD0;\r\n\t\t\t};\r\n\t\t\t\r\n\t\t\tv2f vert (appdata v)\r\n\t\t\t{\r\n\t\t\t\tv2f o;\r\n\t\t\t\to.vertex = UnityObjectToClipPos(v.vertex);\r\n\t\t\t\to.worldPos = mul(unity_ObjectToWorld, v.vertex); \/\/ \u30ed\u30fc\u30ab\u30eb\u5ea7\u6a19\u7cfb\u3092\u30ef\u30fc\u30eb\u30c9\u5ea7\u6a19\u7cfb\u306b\u5909\u63db\r\n\t\t\t\treturn o;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfixed4 frag (v2f i) : SV_Target\r\n\t\t\t{\r\n\t\t\t\t\/\/ \u30ab\u30e1\u30e9\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8ddd\u96e2(\u9577\u3055)\u3092\u53d6\u5f97\r\n\t\t\t\tfloat dist = length(_WorldSpaceCameraPos - i.worldPos);\r\n\t\t\t\t\/\/ Lerp(\u7dda\u5f62\u88dc\u9593)\u3092\u4f7f\u3063\u3066\u8272\u3092\u5909\u5316\r\n\t\t\t\tfixed4 col = fixed4(lerp(_NearColor.rgb, _FarColor.rgb, dist\/_Dsitance), 1); \r\n\t\t\t\treturn col;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t}\r\n}<\/pre>\n<p>\u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3067\u306fVertex\u30b7\u30a7\u30fc\u30c0\u30fc\u5185\u3067\u30ed\u30fc\u30ab\u30eb\u5ea7\u6a19\u7cfb\u3092\u30ef\u30fc\u30eb\u30c9\u5ea7\u6a19\u7cfb\u306b\u5909\u63db\u3057Fragment\u30b7\u30a7\u30fc\u30c0\u30fc\u306b\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001Fragment\u30b7\u30a7\u30fc\u30c0\u30fc\u5185\u3067\u30ab\u30e1\u30e9\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8ddd\u96e2\u3092\u8a08\u7b97\u3057\u3001\u305d\u306e\u5024\u306b\u3088\u3063\u3066Lerp\u95a2\u6570\u3092\u4f7f\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u3092\u5909\u5316\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">\/\/ \u30ab\u30e1\u30e9\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8ddd\u96e2(\u9577\u3055)\u3092\u53d6\u5f97\r\n\r\nfloat dist = length(_WorldSpaceCameraPos - i.worldPos); \r\n\r\n\/\/ Lerp(\u7dda\u5f62\u88dc\u9593)\u3092\u4f7f\u3063\u3066\u8272\u3092\u5909\u5316\r\n\r\nfixed4 col = fixed4(lerp(_NearColor.rgb, _FarColor.rgb, dist\/_Dsitance), 1);<\/pre>\n<p>\u3053\u308c\u3067\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u306b\u3088\u3063\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u5316\u3092\u3064\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2><span id=\"i-2\">\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u52d5\u304b\u3059<\/span><\/h2>\n<p><strong>Geometry\u30b7\u30a7\u30fc\u30c0\u30fc<\/strong>\u3092\u4f7f\u3046\u3053\u3068\u3067\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u52d5\u304d\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u5185\u3067\u306f\u4ee5\u4e0b\u306e\u9806\u3067\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li>Vertex\u30b7\u30a7\u30fc\u30c0\u30fc<\/li>\n<li>Geometry\u30b7\u30a7\u30fc\u30c0\u30fc<\/li>\n<li>Fragment\u30b7\u30a7\u30fc\u30c0\u30fc<\/li>\n<\/ol>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001Web Player\u74b0\u5883\u3067\u306fWebGL\u306e\u4ed5\u69d8\u4e0aGeometry\u30b7\u30a7\u30fc\u30c0\u30fc\u304c\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>STYLY\u3067\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f<strong>STYLY Studio\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u304c\u3001VR\u4e0a\u3067\u306f\u52d5\u4f5c\u3057\u307e\u3059<\/strong>\u306e\u3067\u6c17\u3092\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5148\u307b\u3069\u3068\u540c\u3058\u3088\u3046\u306b\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:default decode:true \">Shader \"Custom\/Simple Geometry\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_Color (\"Color\", Color) = (1, 1, 1, 1)\r\n\t}\r\n\tSubShader\r\n\t{\r\n\t\tTags { \"RenderType\"=\"Opaque\" }\r\n\r\n\t\tPass\r\n\t\t{\r\n\t\t\tCGPROGRAM\r\n\t\t\t#pragma vertex vert\r\n\t\t\t#pragma geometry geom\r\n\t\t\t#pragma fragment frag\r\n\r\n\t\t\t#include \"UnityCG.cginc\"\r\n\r\n\t\t\tfixed4 _Color;\r\n\r\n\t\t\tstruct appdata\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : POSITION;\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t};\r\n\r\n\t\t\tstruct g2f\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t};\r\n\t\t\t\r\n\t\t\tappdata vert (appdata v)\r\n\t\t\t{\r\n\t\t\t\treturn v;\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ \u30b8\u30aa\u30e1\u30c8\u30ea\u30b7\u30a7\u30fc\u30c0\u30fc\r\n\t\t\t[maxvertexcount(3)]\r\n\t\t\tvoid geom (triangle appdata input[3], inout TriangleStream&lt;g2f&gt; stream)\r\n\t\t\t{\r\n\t\t\t\t[unroll]\r\n\t\t\t\tfor(int i = 0; i &lt; 3; i++)\r\n\t\t\t\t{\r\n\t\t\t\t\tappdata v = input[i];\r\n\t\t\t\t\tg2f o;\r\n\t\t\t\t\to.vertex = UnityObjectToClipPos(v.vertex);\r\n\t\t\t\t\to.uv = v.uv;\r\n\t\t\t\t\tstream.Append(o);\r\n\t\t\t\t}\r\n\t\t\t\tstream.RestartStrip();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfixed4 frag (g2f i) : SV_Target\r\n\t\t\t{\r\n\t\t\t\tfixed4 col = _Color;\r\n\t\t\t\treturn col;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t}\r\n\tFallBack \"Unlit\/Color\"\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u81ea\u4f53\u306f\u4f55\u3082\u52d5\u304d\u3092\u3064\u3051\u3066\u3044\u306a\u3044\u3001\u300cGeometry\u30b7\u30a7\u30fc\u30c0\u30fc\u3063\u3066\u3053\u3046\u3084\u3063\u3066\u66f8\u304f\u3093\u3060\uff5e\u300d\u3068\u3044\u3046\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<div id=\"attachment_12437\" style=\"width: 935px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12437\" loading=\"lazy\" class=\"size-full wp-image-12437\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SimpleGeometry.jpg\" alt=\"\u4f55\u3082\u5909\u5316\u3057\u306a\u3044Geometry\u30b7\u30a7\u30fc\u30c0\u30fc\" width=\"925\" height=\"531\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SimpleGeometry.jpg 925w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SimpleGeometry-300x172.jpg 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/SimpleGeometry-768x441.jpg 768w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><p id=\"caption-attachment-12437\" class=\"wp-caption-text\">\u4f55\u3082\u5909\u5316\u3057\u306a\u3044Geometry\u30b7\u30a7\u30fc\u30c0\u30fc<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>_SinTime\u3068Geometry\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u52d5\u304d\u3092\u3064\u3051\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_12438\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12438\" loading=\"lazy\" class=\"size-full wp-image-12438\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonMoving_002.gif\" alt=\"\u30dd\u30ea\u30b4\u30f3\u306e\u6cd5\u7dda\u3092\u4f7f\u3063\u3066\u5206\u89e3\u3059\u308bGeometry\u30b7\u30a7\u30fc\u30c0\u30fc\" width=\"853\" height=\"480\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonMoving_002.gif 853w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonMoving_002-300x169.gif 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonMoving_002-768x432.gif 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><p id=\"caption-attachment-12438\" class=\"wp-caption-text\">\u30dd\u30ea\u30b4\u30f3\u306e\u6cd5\u7dda\u3092\u4f7f\u3063\u3066\u5206\u89e3\u3059\u308bGeometry\u30b7\u30a7\u30fc\u30c0\u30fc<\/p><\/div>\n<pre class=\"lang:default decode:true \">Shader \"Custom\/Polygon Moving\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_Color (\"Color\", Color) = (1, 1, 1, 1)\r\n\t\t_ScaleFactor (\"Scale Factor\", float) = 0.5\r\n\t}\r\n\tSubShader\r\n\t{\r\n\t\tTags { \"RenderType\"=\"Opaque\" }\r\n\r\n\t\tPass\r\n\t\t{\r\n\t\t\tCGPROGRAM\r\n\t\t\t#pragma vertex vert\r\n\t\t\t#pragma geometry geom\r\n\t\t\t#pragma fragment frag\r\n\r\n\t\t\t#include \"UnityCG.cginc\"\r\n\r\n\t\t\tfixed4 _Color;\r\n\t\t\tfloat _ScaleFactor;\r\n\r\n\t\t\tstruct appdata\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : POSITION;\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t};\r\n\r\n\t\t\tstruct g2f\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t};\r\n\t\t\t\r\n\t\t\tappdata vert (appdata v)\r\n\t\t\t{\r\n\t\t\t\treturn v;\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ \u30b8\u30aa\u30e1\u30c8\u30ea\u30b7\u30a7\u30fc\u30c0\u30fc\r\n\t\t\t[maxvertexcount(3)]\r\n\t\t\tvoid geom (triangle appdata input[3], inout TriangleStream&lt;g2f&gt; stream)\r\n\t\t\t{\r\n\t\t\t\t\/\/ \u6cd5\u7dda\u3092\u8a08\u7b97\r\n\t\t\t\tfloat3 vec1 = input[1].vertex - input[0].vertex;\r\n\t\t\t\tfloat3 vec2 = input[2].vertex - input[0].vertex;\r\n\t\t\t\tfloat3 normal = normalize(cross(vec1, vec2));\r\n\r\n\t\t\t\t[unroll]\r\n\t\t\t\tfor(int i = 0; i &lt; 3; i++)\r\n\t\t\t\t{\r\n\t\t\t\t\tappdata v = input[i];\r\n\t\t\t\t\tg2f o;\r\n\t\t\t\t\t\/\/ \u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306b\u6cbf\u3063\u3066\u9802\u70b9\u3092\u79fb\u52d5\r\n\t\t\t\t\tv.vertex.xyz += normal * (_SinTime.w * 0.5 + 0.5) * _ScaleFactor; \r\n\t\t\t\t\to.vertex = UnityObjectToClipPos(v.vertex);\r\n\t\t\t\t\to.uv = v.uv;\r\n\t\t\t\t\tstream.Append(o);\r\n\t\t\t\t}\r\n\t\t\t\tstream.RestartStrip();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfixed4 frag (g2f i) : SV_Target\r\n\t\t\t{\r\n\t\t\t\tfixed4 col = _Color;\r\n\t\t\t\treturn col;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t}\r\n\tFallBack \"Unlit\/Color\"\r\n}<\/pre>\n<p>\u5148\u307b\u3069\u306e\u30b7\u30f3\u30d7\u30eb\u306aGeometry\u30b7\u30a7\u30fc\u30c0\u30fc\u306b<strong>\u300c\u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306e\u8a08\u7b97\u300d<\/strong>\u3068<strong>\u300c_SinTime\u3092\u4f7f\u3063\u305f\u9802\u70b9\u79fb\u52d5\u51e6\u7406\u300d<\/strong>\u3092\u8db3\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u4e00\u3064\u305a\u3064\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3><span id=\"i-3\">\u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306e\u8a08\u7b97<\/span><\/h3>\n<p>\u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306e\u8a08\u7b97\u306b\u306f\u5916\u7a4d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u5916\u7a4d\u3092\u4f7f\u3046\u3053\u3068\u3067\u5e73\u884c\u3067\u306a\u30442\u3064\u306e\u30d9\u30af\u30c8\u30eb\u306b\u5782\u76f4\u306a\u30d9\u30af\u30c8\u30eb\u3092\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a00\u3044\u63db\u3048\u308b\u3068\u3001<strong>3\u3064\u306e\u9802\u70b9\u3092\u6301\u3064\u4e09\u89d2\u30dd\u30ea\u30b4\u30f3\u304c\u5b58\u5728\u3057\u30011\u3064\u306e\u9802\u70b9\u304b\u3089\u305d\u308c\u305e\u308c\u7570\u306a\u308b2\u3064\u306e\u9802\u70b9\u306b\u4f38\u3073\u308b\u30d9\u30af\u30c8\u30eb\u306b\u5782\u76f4\u306a\u30d9\u30af\u30c8\u30eb = \u4e09\u89d2\u30dd\u30ea\u30b4\u30f3\u306e\u6cd5\u7dda\u30d9\u30af\u30c8\u30eb<\/strong>\u3068\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">\/\/ \u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u3092\u8a08\u7b97\r\n\r\nfloat3 vec1 = input[1].vertex - input[0].vertex;\r\n\r\nfloat3 vec2 = input[2].vertex - input[0].vertex;\r\n\r\nfloat3 normal = normalize(cross(vec1, vec2));<\/pre>\n<h3><span id=\"_SinTime\">_SinTime\u3092\u4f7f\u3063\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/span><\/h3>\n<p>\u6b21\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u51e6\u7406\u3067\u3059\u304c\u3001_SinTime\u306f\u6642\u9593\u306e\u30b5\u30a4\u30f3\u95a2\u6570\u3067\u3059\u3002\u6642\u9593\u5909\u5316\u3067-1.0\u304b\u30891.0\u306e\u9593\u3092\u6ed1\u3089\u304b\u306b\u884c\u3063\u305f\u308a\u6765\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3046\u3057\u305fUnity\u304c\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3057\u3066\u3044\u308b\u5024(\u5b9a\u7fa9\u6e08\u307f\u306e\u5024)\u3092\u4f7f\u3046\u3053\u3068\u3067\u8a08\u7b97\u3092\u7701\u7565\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.unity3d.com\/jp\/460\/Manual\/SL-BuiltinValues.html\" target=\"_blank\" rel=\"noopener noreferrer\" data-token-index=\"0\" data-reactroot=\"\">Unity &#8211; \u30de\u30cb\u30e5\u30a2\u30eb: ShaderLab \u5b9a\u7fa9\u6e08\u307f\u306e\u5024<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u306f\u30de\u30a4\u30ca\u30b9\u306e\u5024\u3092\u53d6\u308a\u305f\u304f\u306a\u3044\u306e\u30670.0\u304b\u30891.0\u306e\u9593\u3092\u6ed1\u3089\u304b\u306b\u884c\u3063\u305f\u308a\u6765\u305f\u308a\u3059\u308b\u3088\u3046\u306b\u6b63\u898f\u5316\u3057\u3066\u3042\u3052\u307e\u3059\u3002<\/p>\n<p>\u6700\u5c0f\u5024-1.0\u306b0.5\u3092\u4e57\u7b97\u3059\u308b\u3068-0.5\u306b\u306a\u308a\u3001\u3055\u3089\u306b0.5\u3092\u52a0\u7b97\u3059\u308b\u30680.0\u306b\u306a\u308a\u307e\u3059\u3002\u540c\u69d8\u306e\u8a08\u7b97\u3092\u6700\u5927\u50241.0\u306b\u884c\u3046\u30681.0\u306b\u306a\u308a\u307e\u3059\u3002(\u7d50\u679c\u7684\u306b\u5909\u5316\u3057\u307e\u305b\u3093)<\/p>\n<pre class=\"lang:default decode:true \">_SinTime.w * 0.5 + 0.5<\/pre>\n<p>\u3053\u308c\u3067-1.0\u304b\u30891.0\u306e\u9593\u3067\u5909\u5316\u3059\u308b\u5024\u304c0.0\u304b\u30891.0\u306e\u9593\u3067\u5909\u5316\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6700\u5f8c\u306b\u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306b_SinTime\u306b\u3088\u308b\u5909\u5316\u3059\u308b\u5024\u3092\u4e57\u7b97\u3057\u305f\u3082\u306e\u3092\u4e09\u89d2\u30dd\u30ea\u30b4\u30f3\u306e\u5404\u9802\u70b9\u5ea7\u6a19\u306b\u52a0\u7b97\u3059\u308b\u3053\u3068\u3067\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u65b9\u5411\u306b\u5206\u89e3\u3059\u308b\u3088\u3046\u306a\u52d5\u304d\u3092\u3064\u3051\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">\/\/ \u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306b\u6cbf\u3063\u3066\u9802\u70b9\u3092\u79fb\u52d5\r\n\r\nv.vertex.xyz += normal * (_SinTime.w * 0.5 + 0.5) * _ScaleFactor;<\/pre>\n<h2><span id=\"Polygon_Destruction\">Polygon Destruction\u30b7\u30a7\u30fc\u30c0\u30fc\u306e\u30d7\u30ed\u30b0\u30e9\u30e0<\/span><\/h2>\n<div id=\"attachment_12450\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12450\" loading=\"lazy\" class=\"size-full wp-image-12450\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_003.gif\" alt=\"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc\" width=\"853\" height=\"480\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_003.gif 853w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_003-300x169.gif 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_003-768x432.gif 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><p id=\"caption-attachment-12450\" class=\"wp-caption-text\">\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc<\/p><\/div>\n<p>\u3053\u308c\u307e\u3067\u306b\u8aac\u660e\u3057\u305f<strong>\u300c\u30ab\u30e1\u30e9\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8ddd\u96e2\u300d<\/strong>\u3068<strong>\u300cGeometry\u30b7\u30a7\u30fc\u30c0\u30fc\u300d<\/strong>\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:default decode:true  \">Shader \"Custom\/Polygon Destruction\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_FarColor (\"Far Color\", Color) = (1, 1, 1, 1)\r\n\t\t_NearColor (\"Near Color\", Color) = (0, 0, 0, 1)\r\n\t\t_ScaleFactor (\"Scale Factor\", float) = 0.5\r\n\t\t_StartDistance (\"Start Distance\", float) = 3.0\r\n\t}\r\n\tSubShader\r\n\t{\r\n\t\tTags { \"RenderType\"=\"Opaque\" }\r\n\r\n\t\tPass\r\n\t\t{\r\n\t\t\tCGPROGRAM\r\n\t\t\t#pragma vertex vert\r\n\t\t\t#pragma geometry geom\r\n\t\t\t#pragma fragment frag\r\n\r\n\t\t\t#include \"UnityCG.cginc\"\r\n\r\n\t\t\tfixed4 _FarColor;\r\n\t\t\tfixed4 _NearColor;\r\n\t\t\tfixed _ScaleFactor;\r\n\t\t\tfixed _StartDistance;\r\n\r\n\t\t\tstruct appdata\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : POSITION;\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t};\r\n\r\n\t\t\tstruct g2f\r\n\t\t\t{\r\n\t\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t\tfixed4 color : COLOR;\r\n\t\t\t};\r\n\r\n\t\t\t\/\/ \u30e9\u30f3\u30c0\u30e0\u306a\u5024\u3092\u8fd4\u3059\r\n\t\t\tfloat rand(float2 seed)\r\n\t\t\t{\r\n\t\t\t\treturn frac(sin(dot(seed.xy, float2(12.9898, 78.233))) * 43758.5453);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tappdata vert (appdata v)\r\n\t\t\t{\r\n\t\t\t\treturn v;\r\n\t\t\t}\r\n\r\n\t\t\t\/\/ \u30b8\u30aa\u30e1\u30c8\u30ea\u30b7\u30a7\u30fc\u30c0\u30fc\r\n\t\t\t[maxvertexcount(3)]\r\n\t\t\tvoid geom (triangle appdata input[3], inout TriangleStream&lt;g2f&gt; stream)\r\n\t\t\t{\r\n\t\t\t\t\/\/ \u30ab\u30e1\u30e9\u3068\u30dd\u30ea\u30b4\u30f3\u306e\u91cd\u5fc3\u306e\u8ddd\u96e2\r\n\t\t\t\tfloat3 center = (input[0].vertex + input[1].vertex + input[2].vertex) \/ 3;\r\n\t\t\t\tfloat4 worldPos = mul(unity_ObjectToWorld, float4(center, 1.0));\r\n\t\t\t\tfloat3 dist = length(_WorldSpaceCameraPos - worldPos);\r\n\r\n\t\t\t\t\/\/ \u6cd5\u7dda\u3092\u8a08\u7b97\r\n\t\t\t\tfloat3 vec1 = input[1].vertex - input[0].vertex;\r\n\t\t\t\tfloat3 vec2 = input[2].vertex - input[0].vertex;\r\n\t\t\t\tfloat3 normal = normalize(cross(vec1, vec2));\r\n\r\n\t\t\t\t\/\/ \u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u306b\u3088\u3063\u3066\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u3092\u5909\u5316\r\n\t\t\t\tfixed destruction = clamp(_StartDistance - dist, 0.0, 1.0);\r\n\t\t\t\t\/\/ \u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u306b\u3088\u3063\u3066\u8272\u3092\u5909\u5316\r\n\t\t\t\tfixed gradient = clamp(dist - _StartDistance, 0.0, 1.0);\r\n\r\n\t\t\t\tfixed random = rand(center.xy);\r\n\t\t\t\tfixed3 random3 = random.xxx;\r\n\r\n\t\t\t\t[unroll]\r\n\t\t\t\tfor(int i = 0; i &lt; 3; i++)\r\n\t\t\t\t{\r\n\t\t\t\t\tappdata v = input[i];\r\n\t\t\t\t\tg2f o;\r\n\t\t\t\t\t\/\/ \u6cd5\u7dda\u30d9\u30af\u30c8\u30eb\u306b\u6cbf\u3063\u3066\u9802\u70b9\u3092\u79fb\u52d5\r\n\t\t\t\t\tv.vertex.xyz += normal * destruction * _ScaleFactor * random3; \r\n\t\t\t\t\to.vertex = UnityObjectToClipPos(v.vertex);\r\n\t\t\t\t\to.uv = v.uv;\r\n\t\t\t\t\t\/\/ Lerp(\u7dda\u5f62\u88dc\u9593)\u3092\u4f7f\u3063\u3066\u8272\u3092\u5909\u5316\r\n\t\t\t\t\to.color = fixed4(lerp(_NearColor.rgb, _FarColor.rgb, gradient), 1);\r\n\t\t\t\t\tstream.Append(o);\r\n\t\t\t\t}\r\n\t\t\t\tstream.RestartStrip();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfixed4 frag (g2f i) : SV_Target\r\n\t\t\t{\r\n\t\t\t\tfixed4 col = i.color;\r\n\t\t\t\treturn col;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t}\r\n\tFallBack \"Unlit\/Color\"\r\n}<\/pre>\n<p>\u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u5185\u3067\u884c\u3063\u3066\u3044\u308b\u51e6\u7406\u306f\u5148\u307b\u3069\u8aac\u660e\u3057\u305f<strong>\u300c\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u300d<\/strong>\u3068<strong>\u300c\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u306e\u51e6\u7406\u300d<\/strong>\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002<\/p>\n<h2><span id=\"Polygon_Destrucion\">Polygon Destrucion\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u6f14\u51fa<\/span><\/h2>\n<p>\u4eca\u56de\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30b7\u30a7\u30fc\u30c0\u30fc\u5185\u3067\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u52d5\u304d\u3092\u3064\u3051\u307e\u3057\u305f\u304c\u3001_SinTime\u3084Animator\u304b\u3089\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u5909\u5316\u3055\u305b\u3066\u52d5\u304d\u3092\u3064\u3051\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><div id=\"attachment_12443\" style=\"width: 878px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12443\" loading=\"lazy\" class=\" wp-image-12443\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_Final.gif\" alt=\"Geometry\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u6f14\u51fa 01\" width=\"868\" height=\"517\" \/><p id=\"caption-attachment-12443\" class=\"wp-caption-text\">Geometry\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u6f14\u51fa 01<\/p><\/div><br \/>\n<div id=\"attachment_12444\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-12444\" loading=\"lazy\" class=\" wp-image-12444\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_Final2_Effect.gif\" alt=\"Geometry\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u6f14\u51fa 02\" width=\"853\" height=\"480\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_Final2_Effect.gif 853w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_Final2_Effect-300x169.gif 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestruction_Final2_Effect-768x432.gif 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><p id=\"caption-attachment-12444\" class=\"wp-caption-text\">Geometry\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3063\u305f\u6f14\u51fa 02<\/p><\/div><\/p>\n<p>Animator\u304b\u3089\u5236\u5fa1\u3059\u308b\u3053\u3068\u3067\u52d5\u304d\u306b\u5f37\u5f31\u3092\u3064\u3051\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><span id=\"STYLY\">STYLY\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/span><\/h2>\n<p>\u81ea\u4f5c\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3067\u4f5c\u6210\u3057\u305fMaterial\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3051\u305f\u72b6\u614b\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3067\u3001STYLY Scene\u5185\u3067\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>STYLY\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n\n  <div class=\"blog-card\">\n    <a href=\"https:\/\/styly.cc\/ja\/manual\/unity-asset-uploader\/\">\n        <div class=\"blog-card-thumbnail\"><img src='https:\/\/styly.cc\/wp-content\/uploads\/2018\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-04-16-16.02.10-160x160.png' alt='Unity\u304b\u3089STYLY\u306b\u30d7\u30ec\u30cf\u30d6\u3068\u30b7\u30fc\u30f3\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5' width=90 height=90 \/><\/div>\n        <div class=\"blog-card-content\">\n            <div class=\"blog-card-title\">Unity\u304b\u3089STYLY\u306b\u30d7\u30ec\u30cf\u30d6\u3068\u30b7\u30fc\u30f3\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5 <\/div>\n            <div class=\"blog-card-excerpt\"><\/div>\n        <\/div>\n        <div class=\"clear\"><\/div>\n    <\/a>\n  <\/div>\n<p>&nbsp;<\/p>\n<p>\u4e00\u898b\u3059\u308b\u3068\u8907\u96d1\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3082\u3044\u304f\u3064\u304b\u306e\u8981\u7d20\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3042\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001\u4f55\u304c\u9375\u306a\u306e\u304b\u898b\u5206\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u81ea\u7531\u306b\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002[caption id=\"attachment_12430\" align=\"aligncenter\" width=\"1428\"]<\/p>\n","protected":false},"author":18,"featured_media":12449,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false},"categories":[207,12,23],"tags":[226],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.3.9.1 - aioseo.com -->\n\t\t<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t\t<link rel=\"canonical\" href=\"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.3.9.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"STYLY - \u7a7a\u9593\u30ec\u30a4\u30e4\u30fc\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\" \/>\n\t\t<meta property=\"og:type\" content=\"website\" \/>\n\t\t<meta property=\"og:title\" content=\"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY\" \/>\n\t\t<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2250\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1261\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#blogposting\",\"name\":\"\\u30ab\\u30e1\\u30e9\\u304c\\u8fd1\\u3065\\u304f\\u3068\\u5f3e\\u3051\\u308b\\u30dd\\u30ea\\u30b4\\u30f3\\u5206\\u89e3\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc | STYLY\",\"headline\":\"\\u3010Unity\\u3011\\u30ab\\u30e1\\u30e9\\u304c\\u8fd1\\u3065\\u304f\\u3068\\u5f3e\\u3051\\u308b\\u30dd\\u30ea\\u30b4\\u30f3\\u5206\\u89e3\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc\",\"author\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/go\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/styly.cc\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/PolygonDestuctionShader.jpg\",\"width\":2250,\"height\":1261,\"caption\":\"PolygonDestuctionShader\"},\"datePublished\":\"2019-05-16T06:00:57+09:00\",\"dateModified\":\"2019-05-16T05:23:59+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#webpage\"},\"articleSection\":\"Shader, Tips, Unity, Geometry Shader\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#listItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/\",\"name\":\"\\u5bb6\",\"description\":\"VR\\u3084AR\\u306a\\u3069\\u306e\\u4f5c\\u54c1\\u3092\\u3069\\u306a\\u305f\\u3067\\u3082\\u7c21\\u5358\\u306b\\u5275\\u9020\\u30fb\\u4f53\\u9a13\\u3067\\u304d\\u308b\\u3001\\u30ea\\u30a2\\u30eb\\u30e1\\u30bf\\u30d0\\u30fc\\u30b9\\u30d7\\u30e9\\u30c3\\u30c8\\u30d5\\u30a9\\u30fc\\u30e0\\u3067\\u3059\\u3002\\u30b9\\u30de\\u30fc\\u30c8\\u30d5\\u30a9\\u30f3\\u3084PC\\u3001\\u5404\\u7a2eVR\\u6a5f\\u5668\\u306a\\u3069\\u3001\\u69d8\\u3005\\u306a\\u74b0\\u5883\\u304b\\u3089xR\\u4f5c\\u54c1\\u3092\\u304a\\u697d\\u3057\\u307f\\u3044\\u305f\\u3060\\u3051\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/\"},\"nextItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/#listItem\"},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/#listItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/\",\"name\":\"Tips\",\"description\":\"\\u3053\\u306e\\u8a18\\u4e8b\\u3067\\u306f\\u30ab\\u30e1\\u30e9\\u3068\\u306e\\u8ddd\\u96e2\\u3092\\u4f7f\\u3063\\u3066\\u30013D\\u30e2\\u30c7\\u30eb\\u3092\\u30dd\\u30ea\\u30b4\\u30f3\\u5358\\u4f4d\\u3067\\u5206\\u89e3\\u3059\\u308b\\u65b9\\u6cd5\\u3092\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/\"},\"nextItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#listItem\",\"previousItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#listItem\"},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#listItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/\",\"name\":\"[:en][Unity] The 'Polygon Destruction' Shader - Explosion As the Camera Approaches[:ja]\\u3010Unity\\u3011\\u30ab\\u30e1\\u30e9\\u304c\\u8fd1\\u3065\\u304f\\u3068\\u5f3e\\u3051\\u308b\\u30dd\\u30ea\\u30b4\\u30f3\\u5206\\u89e3\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc[:]\",\"description\":\"\\u3053\\u306e\\u8a18\\u4e8b\\u3067\\u306f\\u30ab\\u30e1\\u30e9\\u3068\\u306e\\u8ddd\\u96e2\\u3092\\u4f7f\\u3063\\u3066\\u30013D\\u30e2\\u30c7\\u30eb\\u3092\\u30dd\\u30ea\\u30b4\\u30f3\\u5358\\u4f4d\\u3067\\u5206\\u89e3\\u3059\\u308b\\u65b9\\u6cd5\\u3092\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/\"},\"previousItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/#listItem\"}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#organization\",\"name\":\"STYLY\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/go\\\/#author\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/go\\\/\",\"name\":\"go\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#authorImage\",\"url\":\"http:\\\/\\\/styly.cc\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/go_avatar_1555581586-96x96-1-96x96.png\",\"width\":96,\"height\":96,\"caption\":\"go\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#webpage\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/\",\"name\":\"\\u30ab\\u30e1\\u30e9\\u304c\\u8fd1\\u3065\\u304f\\u3068\\u5f3e\\u3051\\u308b\\u30dd\\u30ea\\u30b4\\u30f3\\u5206\\u89e3\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc | STYLY\",\"description\":\"\\u3053\\u306e\\u8a18\\u4e8b\\u3067\\u306f\\u30ab\\u30e1\\u30e9\\u3068\\u306e\\u8ddd\\u96e2\\u3092\\u4f7f\\u3063\\u3066\\u30013D\\u30e2\\u30c7\\u30eb\\u3092\\u30dd\\u30ea\\u30b4\\u30f3\\u5358\\u4f4d\\u3067\\u5206\\u89e3\\u3059\\u308b\\u65b9\\u6cd5\\u3092\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/go\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/go\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/styly.cc\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/PolygonDestuctionShader.jpg\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#mainImage\",\"width\":2250,\"height\":1261,\"caption\":\"PolygonDestuctionShader\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/polygondestruction-go-shader\\\/#mainImage\"},\"datePublished\":\"2019-05-16T06:00:57+09:00\",\"dateModified\":\"2019-05-16T05:23:59+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#website\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/\",\"name\":\"STYLY\",\"description\":\"\\u7a7a\\u9593\\u30ec\\u30a4\\u30e4\\u30fc\\u30d7\\u30e9\\u30c3\\u30c8\\u30d5\\u30a9\\u30fc\\u30e0\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY<\/title>\n\n","aioseo_head_json":{"title":"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","canonical_url":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"og:locale":"ja_JP","og:site_name":"STYLY - \u7a7a\u9593\u30ec\u30a4\u30e4\u30fc\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0","og:type":"website","og:title":"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY","og:description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","og:url":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/","og:image":"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg","og:image:secure_url":"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg","og:image:width":2250,"og:image:height":1261,"twitter:card":"summary_large_image","twitter:title":"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY","twitter:description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter:image":"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#blogposting","name":"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY","headline":"\u3010Unity\u3011\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc","author":{"@id":"https:\/\/styly.cc\/ja\/author\/go\/#author"},"publisher":{"@id":"https:\/\/styly.cc\/ja\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg","width":2250,"height":1261,"caption":"PolygonDestuctionShader"},"datePublished":"2019-05-16T06:00:57+09:00","dateModified":"2019-05-16T05:23:59+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#webpage"},"isPartOf":{"@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#webpage"},"articleSection":"Shader, Tips, Unity, Geometry Shader"},{"@type":"BreadcrumbList","@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/styly.cc\/ja\/#listItem","position":1,"item":{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/","name":"\u5bb6","description":"VR\u3084AR\u306a\u3069\u306e\u4f5c\u54c1\u3092\u3069\u306a\u305f\u3067\u3082\u7c21\u5358\u306b\u5275\u9020\u30fb\u4f53\u9a13\u3067\u304d\u308b\u3001\u30ea\u30a2\u30eb\u30e1\u30bf\u30d0\u30fc\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3084PC\u3001\u5404\u7a2eVR\u6a5f\u5668\u306a\u3069\u3001\u69d8\u3005\u306a\u74b0\u5883\u304b\u3089xR\u4f5c\u54c1\u3092\u304a\u697d\u3057\u307f\u3044\u305f\u3060\u3051\u307e\u3059\u3002","url":"https:\/\/styly.cc\/ja\/"},"nextItem":"https:\/\/styly.cc\/ja\/tips\/#listItem"},{"@type":"ListItem","@id":"https:\/\/styly.cc\/ja\/tips\/#listItem","position":2,"item":{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/tips\/","name":"Tips","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","url":"https:\/\/styly.cc\/ja\/tips\/"},"nextItem":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#listItem","previousItem":"https:\/\/styly.cc\/ja\/#listItem"},{"@type":"ListItem","@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#listItem","position":3,"item":{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/","name":"[:en][Unity] The 'Polygon Destruction' Shader - Explosion As the Camera Approaches[:ja]\u3010Unity\u3011\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc[:]","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","url":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/"},"previousItem":"https:\/\/styly.cc\/ja\/tips\/#listItem"}]},{"@type":"Organization","@id":"https:\/\/styly.cc\/ja\/#organization","name":"STYLY","url":"https:\/\/styly.cc\/ja\/"},{"@type":"Person","@id":"https:\/\/styly.cc\/ja\/author\/go\/#author","url":"https:\/\/styly.cc\/ja\/author\/go\/","name":"go","image":{"@type":"ImageObject","@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#authorImage","url":"http:\/\/styly.cc\/wp-content\/uploads\/2022\/03\/go_avatar_1555581586-96x96-1-96x96.png","width":96,"height":96,"caption":"go"}},{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#webpage","url":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/","name":"\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc | STYLY","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/styly.cc\/ja\/#website"},"breadcrumb":{"@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#breadcrumblist"},"author":{"@id":"https:\/\/styly.cc\/ja\/author\/go\/#author"},"creator":{"@id":"https:\/\/styly.cc\/ja\/author\/go\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/styly.cc\/wp-content\/uploads\/2019\/05\/PolygonDestuctionShader.jpg","@id":"https:\/\/styly.cc\/ja\/#mainImage","width":2250,"height":1261,"caption":"PolygonDestuctionShader"},"primaryImageOfPage":{"@id":"https:\/\/styly.cc\/ja\/tips\/polygondestruction-go-shader\/#mainImage"},"datePublished":"2019-05-16T06:00:57+09:00","dateModified":"2019-05-16T05:23:59+09:00"},{"@type":"WebSite","@id":"https:\/\/styly.cc\/ja\/#website","url":"https:\/\/styly.cc\/ja\/","name":"STYLY","description":"\u7a7a\u9593\u30ec\u30a4\u30e4\u30fc\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0","inLanguage":"ja","publisher":{"@id":"https:\/\/styly.cc\/ja\/#organization"}}]}},"aioseo_meta_data":{"post_id":"12429","title":"[:en][Unity] The 'Polygon Destruction' Shader - Explosion As the Camera Approaches[:ja]\u30ab\u30e1\u30e9\u304c\u8fd1\u3065\u304f\u3068\u5f3e\u3051\u308b\u30dd\u30ea\u30b4\u30f3\u5206\u89e3\u30b7\u30a7\u30fc\u30c0\u30fc[:] | #site_title","description":"[:en]In this article, I will show how to explode a 3D model into polygon pieces. The explosion is triggered by a set distance between the camera and the model.[:ja]\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30ab\u30e1\u30e9\u3068\u306e\u8ddd\u96e2\u3092\u4f7f\u3063\u3066\u30013D\u30e2\u30c7\u30eb\u3092\u30dd\u30ea\u30b4\u30f3\u5358\u4f4d\u3067\u5206\u89e3\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002[:]","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"website","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary_large_image","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"open_ai":null,"created":"2022-03-17 08:11:58","updated":"2023-02-08 07:54:53"},"acf":[],"_links":{"self":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/12429"}],"collection":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/comments?post=12429"}],"version-history":[{"count":19,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/12429\/revisions"}],"predecessor-version":[{"id":24446,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/12429\/revisions\/24446"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media\/12449"}],"wp:attachment":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media?parent=12429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/categories?post=12429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/tags?post=12429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}