{"id":7579,"date":"2018-11-29T15:00:08","date_gmt":"2018-11-29T06:00:08","guid":{"rendered":"https:\/\/styly.cc\/?p=7579"},"modified":"2019-02-07T17:04:17","modified_gmt":"2019-02-07T08:04:17","slug":"unity-rotation-mask-shader","status":"publish","type":"post","link":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/","title":{"rendered":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe"},"content":{"rendered":"<p><\/p>\n<h2><span id=\"i\">\u6982\u8981<\/span><\/h2>\n<p>\u56de\u8ee2\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7581\" style=\"width: 489px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7581\" loading=\"lazy\" class=\"wp-image-7581 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/1_overview.gif\" alt=\"\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\" width=\"479\" height=\"497\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/1_overview.gif 479w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/1_overview-289x300.gif 289w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><p id=\"caption-attachment-7581\" class=\"wp-caption-text\">\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-2\">\u30b5\u30f3\u30d7\u30eb<\/span><\/h2>\n<p>GitHub\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/p>\n<p><a href=\"https:\/\/github.com\/styly-dev\/STYLY-Unity-Examples\/tree\/master\/Assets\/STYLY_Examples\/RotationMask_Sample\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/styly-dev\/STYLY-Unity-Examples\/tree\/master\/Assets\/STYLY_Examples\/RotationMask_Sample<\/a>\u00a0<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u7a7a\u9593\u00a0<\/p>\n<p>\u00a0<iframe loading=\"lazy\" src=\"https:\/\/gallery.styly.cc\/embed?g=a5365271-dc9a-11e8-b34d-4783bb2170d0\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><span id=\"i-3\">\u56de\u8ee2\u30de\u30b9\u30af\u306e\u89e3\u8aac<\/span><\/h2>\n<h3><span id=\"i-4\">\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u56de\u8ee2\u3055\u305b\u308b<\/span><\/h3>\n<p>\u307e\u305a\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u56de\u8ee2\u3059\u308b\u753b\u50cf\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7680\" style=\"width: 370px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7680\" loading=\"lazy\" class=\"wp-image-7680 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/1-1.gif\" alt=\"\u753b\u50cf\u3092\u56de\u8ee2\u3055\u305b\u308b\" width=\"360\" height=\"360\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/1-1.gif 360w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/1-1-300x300.gif 300w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><p id=\"caption-attachment-7680\" class=\"wp-caption-text\">\u753b\u50cf\u3092\u56de\u8ee2\u3055\u305b\u308b<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-5\">\u30c6\u30af\u30b9\u30c1\u30e3\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b<\/span><\/h3>\n<p>\u30de\u30b9\u30af\u753b\u50cf\u306e\u8272\u304c<strong>\u767d\u3044\u90e8\u5206\u306f\u8868\u793a\u3055\u305b<\/strong>\u3001<strong>\u9ed2\u3044\u90e8\u5206\u306f\u975e\u8868\u793a<\/strong>\u306b\u3057\u307e\u3059<\/p>\n<div id=\"attachment_7677\" style=\"width: 714px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7677\" loading=\"lazy\" class=\"wp-image-7677 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd529c84a31.png\" alt=\"\u56de\u8ee2\u30de\u30b9\u30af \u6982\u8981\" width=\"704\" height=\"245\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd529c84a31.png 704w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd529c84a31-300x104.png 300w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><p id=\"caption-attachment-7677\" class=\"wp-caption-text\">\u56de\u8ee2\u30de\u30b9\u30af \u6982\u8981<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-6\">\u30de\u30b9\u30af\u7d50\u679c<\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7681\" style=\"width: 370px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7681\" loading=\"lazy\" class=\"wp-image-7681 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/2-1.gif\" alt=\"\u56de\u8ee2\u30c6\u30af\u30b9\u30c1\u30e3\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u305f\u7d50\u679c\" width=\"360\" height=\"360\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/2-1.gif 360w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/2-1-300x300.gif 300w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><p id=\"caption-attachment-7681\" class=\"wp-caption-text\">\u56de\u8ee2\u30c6\u30af\u30b9\u30c1\u30e3\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u305f\u7d50\u679c<\/p><\/div>\n<p>\u00a0 \u30c6\u30af\u30b9\u30c1\u30e3\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u591a\u5f69\u306a\u8868\u73fe\u304c\u4f5c\u308c\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_7707\" style=\"width: 509px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7707\" loading=\"lazy\" class=\"wp-image-7707 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/sample.gif\" alt=\"\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u4ed6\u306e\u7d44\u307f\u5408\u308f\u305b\" width=\"499\" height=\"470\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/sample.gif 499w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/sample-300x283.gif 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><p id=\"caption-attachment-7707\" class=\"wp-caption-text\">\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u4ed6\u306e\u7d44\u307f\u5408\u308f\u305b<\/p><\/div>\n<p>\u3053\u308c\u3089\u306e\u30c6\u30af\u30b9\u30c1\u30e3\u306f<a href=\"https:\/\/github.com\/styly-dev\/STYLY-Unity-Examples\/tree\/master\/Assets\/STYLY_Examples\/RotationMask_Sample\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u306b\u3042\u308b\u3082\u306e\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u00a0<\/p>\n<h2><span id=\"Unity\">Unity\u4e0a\u3067\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe\u3092\u3064\u304f\u308b<\/span><\/h2>\n<p>\u3055\u3063\u305d\u304f\u3001\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe\u3092Unity\u4e0a\u3067\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059 \u00a0<\/p>\n<h3><span id=\"i-7\">\u4f7f\u7528\u3059\u308b\u30c6\u30af\u30b9\u30c1\u30e3<\/span><\/h3>\n<p>\u4eca\u56de\u306f\u4ee5\u4e0b\u306e\uff12\u679a\u306e\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3078\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div id=\"attachment_7703\" style=\"width: 74px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7703\" loading=\"lazy\" class=\"size-full wp-image-7703\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/intensive_line.png\" alt=\"\u30d9\u30fc\u30b9\u30c6\u30af\u30b9\u30c1\u30e3\" width=\"64\" height=\"64\" \/><p id=\"caption-attachment-7703\" class=\"wp-caption-text\">\u30d9\u30fc\u30b9\u30c6\u30af\u30b9\u30c1\u30e3<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_7704\" style=\"width: 42px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7704\" loading=\"lazy\" class=\"wp-image-7704 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/rect.png\" alt=\"\u30de\u30b9\u30af\u7528\u30c6\u30af\u30b9\u30c1\u30e3\" width=\"32\" height=\"32\" \/><p id=\"caption-attachment-7704\" class=\"wp-caption-text\">\u30de\u30b9\u30af\u7528\u30c6\u30af\u30b9\u30c1\u30e3<\/p><\/div>\n<h3><span id=\"i-8\">\u677f\u306e\u4f5c\u6210<\/span><\/h3>\n<p>Hierarchy\u30a6\u30a3\u30f3\u30c9\u30a6\u306eCreate\u30e1\u30cb\u30e5\u30fc\u304b\u3089Plane\u3092\u9078\u629e\u3057\u3001\u677f\u3092\u4f5c\u6210\u3057\u307e\u3059<\/p>\n<div id=\"attachment_7682\" style=\"width: 471px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7682\" loading=\"lazy\" class=\"wp-image-7682 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd54e11b12a.png\" alt=\"Plane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\" width=\"461\" height=\"395\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd54e11b12a.png 461w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd54e11b12a-300x257.png 300w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><p id=\"caption-attachment-7682\" class=\"wp-caption-text\">Plane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_7708\" style=\"width: 467px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7708\" loading=\"lazy\" class=\"wp-image-7708 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc80a69419.png\" alt=\"\u4f5c\u6210\u3057\u305fPlane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\" width=\"457\" height=\"404\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc80a69419.png 457w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc80a69419-300x265.png 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><p id=\"caption-attachment-7708\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305fPlane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/p><\/div>\n<h3><span id=\"i-9\">\u30b7\u30a7\u30fc\u30c0\u30fc\u306e\u4f5c\u6210<\/span><\/h3>\n<p>\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u30de\u30b9\u30af\u52a0\u5de5\u3092\u884c\u3046\u305f\u3081\u306b\u3001Unity\u306b\u5099\u308f\u3063\u3066\u3044\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u6a5f\u80fd\u3092\u5229\u7528\u3057\u307e\u3059\u3002 Project\u30bf\u30d6\u306eCreate\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u3001Shader\/Unlit Shader\u3092\u9078\u629e\u3057\u3066\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><div id=\"attachment_7684\" style=\"width: 682px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7684\" loading=\"lazy\" class=\"wp-image-7684 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfd56c076c4e-e1543329569712.png\" alt=\"\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\" width=\"672\" height=\"317\" \/><p id=\"caption-attachment-7684\" class=\"wp-caption-text\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/p><\/div><br \/>\n<div id=\"attachment_7698\" style=\"width: 140px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7698\" loading=\"lazy\" class=\"wp-image-7698 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbcc0bd9da.png\" alt=\"\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\" width=\"130\" height=\"138\" \/><p id=\"caption-attachment-7698\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb<\/p><\/div><\/p>\n<p>\u00a0 \u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"Rotation Mask Shader\">Shader \"STYLY\/Examples\/RotationMask\" {\r\n\tProperties{\r\n\t\t_Color(\"Color\", Color) = (1,1,1,1)\r\n\t\t_OverTex(\"Base Texture (RGB)\", 2D) = \"white\" {}\r\n\t\t_MaskTex(\"Mask Texture (RGB)\", 2D) = \"white\" {}\r\n\t\t_RotationSpeed(\"Rotation Speed\", Float) = 1.0\r\n\t}\r\n\t\tSubShader{\r\n\t\t\tTags { \"RenderType\" = \"Opaque\" }\r\n\t\t\tLOD 200\r\n\r\n\t\t\tCGPROGRAM\r\n\t\t\t#pragma surface surf Standard fullforwardshadows\r\n\t\t\t#pragma target 3.0\r\n\r\n\t\t\tsampler2D _MaskTex;\r\n\t\t\tsampler2D _OverTex;\r\n\r\n\t\t\tstruct Input {\r\n\t\t\t\tfloat2 uv_MaskTex;\r\n\t\t\t\tfloat2 uv_OverTex;\r\n\t\t\t};\r\n\r\n\t\t\tfloat _RotationSpeed;\r\n\t\t\tfixed4 _Color;\r\n\r\n\t\t\t#define ANGLE (_Time.z * _RotationSpeed)\r\n\r\n\t\t\tvoid surf(Input IN, inout SurfaceOutputStandard o) {\r\n\t\t\t\tfixed4 mask = tex2D(_MaskTex, IN.uv_MaskTex);\r\n\t\t\t\tclip(mask.r - 0.5); \/\/ do not draw if mask.r is less than 0.5\r\n\r\n\t\t\t\tfixed2 center = fixed2(0.5, 0.5);\r\n\r\n\t\t\t\tfloat2x2 rotate = float2x2(cos(ANGLE), -sin(ANGLE), sin(ANGLE), cos(ANGLE));\r\n\t\t\t\tfixed2 uv_OverTex = mul(rotate, IN.uv_OverTex - center) + center;\r\n\t\t\t\tfixed4 over = tex2D(_OverTex, uv_OverTex);\r\n\t\t\t\tfixed4 c = mask * over * _Color;\r\n\t\t\t\to.Emission = c.rgb;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t\tFallBack \"Diffuse\"\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-10\">\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u4f5c\u6210<\/span><\/h3>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001Create\/Material\u3092\u9078\u629e\u3057\u3066\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><div id=\"attachment_7699\" style=\"width: 789px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7699\" loading=\"lazy\" class=\"wp-image-7699 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbd8a05b2c.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u4f5c\u6210\" width=\"779\" height=\"495\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbd8a05b2c.png 779w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbd8a05b2c-300x191.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbd8a05b2c-768x488.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><p id=\"caption-attachment-7699\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u4f5c\u6210<\/p><\/div><br \/>\n<div id=\"attachment_7700\" style=\"width: 198px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7700\" loading=\"lazy\" class=\"wp-image-7700 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbe42c2b79.png\" alt=\"\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\" width=\"188\" height=\"156\" \/><p id=\"caption-attachment-7700\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb<\/p><\/div><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-11\">\u30de\u30c6\u30ea\u30a2\u30eb\u3078\u30c6\u30af\u30b9\u30c1\u30e3\u767b\u9332<\/span><\/h3>\n<p>\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\u306b\u30c6\u30af\u30b9\u30c1\u30e3\u3068\u30de\u30b9\u30af\u7528\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u767b\u9332\u3057\u307e\u3059\u3002 \u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u9078\u629e\u72b6\u614b\u306b\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7701\" style=\"width: 474px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7701\" loading=\"lazy\" class=\"wp-image-7701 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbf3171bf6.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30af\u30ea\u30c3\u30af\" width=\"464\" height=\"279\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbf3171bf6.png 464w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdbf3171bf6-300x180.png 300w\" sizes=\"(max-width: 464px) 100vw, 464px\" \/><p id=\"caption-attachment-7701\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30af\u30ea\u30c3\u30af<\/p><\/div>\n<p>\u00a0 \u00a0 \u4ed6\u306e\u30a2\u30bb\u30c3\u30c8\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u6642\u306bInspector\u30bf\u30d6\u306e\u8868\u793a\u304c\u5909\u66f4\u3055\u308c\u306a\u3044\u3088\u3046\u306b Inspector\u30bf\u30d6\u306e\u53f3\u4e0a\u306b\u3042\u308b\u9375\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ed\u30c3\u30af\u72b6\u614b\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7705\" style=\"width: 390px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7705\" loading=\"lazy\" class=\"wp-image-7705 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc25bb6a41.png\" alt=\"\u9375\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30ed\u30c3\u30af\u72b6\u614b\u306b\u3059\u308b\" width=\"380\" height=\"357\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc25bb6a41.png 380w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc25bb6a41-300x282.png 300w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><p id=\"caption-attachment-7705\" class=\"wp-caption-text\">\u9375\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30ed\u30c3\u30af\u72b6\u614b\u306b\u3059\u308b<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_7706\" style=\"width: 230px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7706\" loading=\"lazy\" class=\"wp-image-7706 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc2a6e1b8b.png\" alt=\"Inspector\u30bf\u30d6\u306e\u30ed\u30c3\u30af\u304c\u304b\u304b\u3063\u305f\u72b6\u614b\" width=\"220\" height=\"112\" \/><p id=\"caption-attachment-7706\" class=\"wp-caption-text\">Inspector\u30bf\u30d6\u306e\u30ed\u30c3\u30af\u304c\u304b\u304b\u3063\u305f\u72b6\u614b<\/p><\/div>\n<p>\u00a0 \u30c6\u30af\u30b9\u30c1\u30e3\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u30de\u30c6\u30ea\u30a2\u30eb\u3078\u767b\u9332\u3057\u307e\u3059<\/p>\n<div id=\"attachment_7702\" style=\"width: 837px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7702\" loading=\"lazy\" class=\"wp-image-7702 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc08ff3eaa.png\" alt=\"\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u3078\u306e\u767b\u9332\" width=\"827\" height=\"283\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc08ff3eaa.png 827w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc08ff3eaa-300x103.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc08ff3eaa-768x263.png 768w\" sizes=\"(max-width: 827px) 100vw, 827px\" \/><p id=\"caption-attachment-7702\" class=\"wp-caption-text\">\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u3078\u306e\u767b\u9332<\/p><\/div>\n<p>\u4ee5\u4e0a\u3067\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8a2d\u5b9a\u306f\u7d42\u308f\u308a\u3067\u3059\u3002<\/p>\n<div id=\"attachment_7711\" style=\"width: 435px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7711\" loading=\"lazy\" class=\"wp-image-7711 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc98e456f8.png\" alt=\"\u30c6\u30af\u30b9\u30c1\u30e3\u767b\u9332\u5f8c\u306e\u30de\u30c6\u30ea\u30a2\u30eb\" width=\"425\" height=\"349\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc98e456f8.png 425w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc98e456f8-300x246.png 300w\" sizes=\"(max-width: 425px) 100vw, 425px\" \/><p id=\"caption-attachment-7711\" class=\"wp-caption-text\">\u30c6\u30af\u30b9\u30c1\u30e3\u767b\u9332\u5f8c\u306e\u30de\u30c6\u30ea\u30a2\u30eb<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"Plane\">\u30de\u30c6\u30ea\u30a2\u30eb\u3092Plane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u767b\u9332<\/span><\/h3>\n<p>\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u677f(Plane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u306b\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7709\" style=\"width: 1028px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7709\" loading=\"lazy\" class=\"wp-image-7709 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc8d21c2b1.png\" alt=\"Plane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u767b\u9332\" width=\"1018\" height=\"468\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc8d21c2b1.png 1018w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc8d21c2b1-300x138.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdc8d21c2b1-768x353.png 768w\" sizes=\"(max-width: 1018px) 100vw, 1018px\" \/><p id=\"caption-attachment-7709\" class=\"wp-caption-text\">Plane\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30de\u30c6\u30ea\u30a2\u30eb\u767b\u9332<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-12\">\u5b8c\u6210<\/span><\/h3>\n<p>\u3053\u308c\u3067\u56de\u8ee2\u30de\u30b9\u30af\u306e\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<div id=\"attachment_7710\" style=\"width: 555px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7710\" loading=\"lazy\" class=\"wp-image-7710 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/result.gif\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u9069\u7528\u7d50\u679c\" width=\"545\" height=\"514\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/result.gif 545w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/result-300x283.gif 300w\" sizes=\"(max-width: 545px) 100vw, 545px\" \/><p id=\"caption-attachment-7710\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u9069\u7528\u7d50\u679c<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-13\">\u56de\u8ee2\u30de\u30b9\u30af\u306e\u7de8\u96c6<\/span><\/h2>\n<h3><span id=\"i-14\">\u8272\u3092\u5909\u66f4<\/span><\/h3>\n<p>\u56de\u8ee2\u30de\u30b9\u30af\u306e\u8272\u3092\u5909\u66f4\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u00a0 \u30de\u30c6\u30ea\u30a2\u30eb\u306e\u8272\u3092\u9078\u629e\u3057\u3001\u8272\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7712\" style=\"width: 397px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7712\" loading=\"lazy\" class=\"wp-image-7712 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdca849f4f3.png\" alt=\"\u8272\u306e\u30af\u30ea\u30c3\u30af\" width=\"387\" height=\"325\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdca849f4f3.png 387w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdca849f4f3-300x252.png 300w\" sizes=\"(max-width: 387px) 100vw, 387px\" \/><p id=\"caption-attachment-7712\" class=\"wp-caption-text\">\u8272\u306e\u30af\u30ea\u30c3\u30af<\/p><\/div>\n<p>\u00a0 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u9ec4\u8272\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7713\" style=\"width: 250px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7713\" loading=\"lazy\" class=\"wp-image-7713 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdcad215a5c.png\" alt=\"\u9ec4\u8272\u3092\u8a2d\u5b9a\" width=\"240\" height=\"407\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdcad215a5c.png 240w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdcad215a5c-177x300.png 177w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><p id=\"caption-attachment-7713\" class=\"wp-caption-text\">\u9ec4\u8272\u3092\u8a2d\u5b9a<\/p><\/div>\n<p>\u00a0 \u56de\u8ee2\u30de\u30b9\u30af\u306e\u677f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5168\u4f53\u306b\u9ec4\u8272\u304c\u3064\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_7714\" style=\"width: 624px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-7714\" loading=\"lazy\" class=\"wp-image-7714 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdcb9e765b1.png\" alt=\"\u8272\u306e\u5909\u66f4\u7d50\u679c\" width=\"614\" height=\"461\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdcb9e765b1.png 614w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/img_5bfdcb9e765b1-300x225.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><p id=\"caption-attachment-7714\" class=\"wp-caption-text\">\u8272\u306e\u5909\u66f4\u7d50\u679c<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2><span id=\"UnitySTYLY\">Unity\u304b\u3089STYLY\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/span><\/h2>\n<p>Unity\u4e0a\u3067\u4f5c\u6210\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eSTYLY\u3078\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u30ea\u30f3\u30af\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 https:\/\/styly.cc\/ja\/manual\/unity-asset-uploader\/<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-ja\">\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u3001\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u305f\u3060\u4eca\u3000<a href=\"https:\/\/styly.cc\/en\/wp-json\/wp\/v2\/posts\/7579\" class=\"qtranxs-available-language-link qtranxs-available-language-link-en\" title=\"EN\">\u30a2\u30e1\u30ea\u30ab\u82f1\u8a9e<\/a>\u3000\u306e\u307f\u3067\u3059\u3002<\/p>\n","protected":false},"author":22,"featured_media":9865,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false},"categories":[203,12,23],"tags":[173,57,33],"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=\"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\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\/unity-rotation-mask-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=\"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe\" \/>\n\t\t<meta property=\"og:description\" content=\"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1798\" \/>\n\t\t<meta property=\"og:image:height\" content=\"828\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png\" \/>\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\\\/unity-rotation-mask-shader\\\/#blogposting\",\"name\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u305f2D\\u753b\\u50cf\\u306e\\u56de\\u8ee2\\u30de\\u30b9\\u30af\\u8868\\u73fe | STYLY\",\"headline\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u305f2D\\u753b\\u50cf\\u306e\\u56de\\u8ee2\\u30de\\u30b9\\u30af\\u8868\\u73fe\",\"author\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/kamosoba\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/styly.cc\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/\\u30b9\\u30af\\u30ea\\u30fc\\u30f3\\u30b7\\u30e7\\u30c3\\u30c8-2019-01-31-12.58.31.png\",\"width\":1798,\"height\":828,\"caption\":\"\\u30a2\\u30a4\\u30ad\\u30e3\\u30c3\\u30c1\\u753b\\u50cf\"},\"datePublished\":\"2018-11-29T06:00:08+09:00\",\"dateModified\":\"2019-02-07T08:04:17+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#webpage\"},\"articleSection\":\"Sample Asset, Tips, Unity, Shader, STYLY, Unity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-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\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u3066\\u56de\\u8ee2\\u3059\\u308b\\u753b\\u50cf\\u306b\\u30de\\u30b9\\u30af\\u3092\\u304b\\u3051\\u308b\\u8868\\u73fe\\u3092\\u4f5c\\u308b\\u65b9\\u6cd5\\u3092\\u89e3\\u8aac\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/\"},\"nextItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#listItem\",\"previousItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#listItem\"},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#listItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/\",\"name\":\"[:en]Rendering of masked rotating 2D image with Unity[:ja]Unity\\u3092\\u5229\\u7528\\u3057\\u305f2D\\u753b\\u50cf\\u306e\\u56de\\u8ee2\\u30de\\u30b9\\u30af\\u8868\\u73fe[:]\",\"description\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u3066\\u56de\\u8ee2\\u3059\\u308b\\u753b\\u50cf\\u306b\\u30de\\u30b9\\u30af\\u3092\\u304b\\u3051\\u308b\\u8868\\u73fe\\u3092\\u4f5c\\u308b\\u65b9\\u6cd5\\u3092\\u89e3\\u8aac\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-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\\\/kamosoba\\\/#author\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/kamosoba\\\/\",\"name\":\"\\u304b\\u3082\\u305d\\u3070\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#authorImage\",\"url\":\"https:\\\/\\\/styly.cc\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/\\u6c38\\u7559-\\u907c\\u5e73_avatar_1531804460-96x96.png\",\"width\":96,\"height\":96,\"caption\":\"\\u304b\\u3082\\u305d\\u3070\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#webpage\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/\",\"name\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u305f2D\\u753b\\u50cf\\u306e\\u56de\\u8ee2\\u30de\\u30b9\\u30af\\u8868\\u73fe | STYLY\",\"description\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u3066\\u56de\\u8ee2\\u3059\\u308b\\u753b\\u50cf\\u306b\\u30de\\u30b9\\u30af\\u3092\\u304b\\u3051\\u308b\\u8868\\u73fe\\u3092\\u4f5c\\u308b\\u65b9\\u6cd5\\u3092\\u89e3\\u8aac\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/kamosoba\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/author\\\/kamosoba\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/styly.cc\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/\\u30b9\\u30af\\u30ea\\u30fc\\u30f3\\u30b7\\u30e7\\u30c3\\u30c8-2019-01-31-12.58.31.png\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#mainImage\",\"width\":1798,\"height\":828,\"caption\":\"\\u30a2\\u30a4\\u30ad\\u30e3\\u30c3\\u30c1\\u753b\\u50cf\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-rotation-mask-shader\\\/#mainImage\"},\"datePublished\":\"2018-11-29T06:00:08+09:00\",\"dateModified\":\"2019-02-07T08:04:17+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>Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe | STYLY<\/title>\n\n","aioseo_head_json":{"title":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe | STYLY","description":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","canonical_url":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-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":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe","og:description":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","og:url":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/","og:image":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png","og:image:secure_url":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png","og:image:width":1798,"og:image:height":828,"twitter:card":"summary","twitter:title":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe","twitter:description":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","twitter:image":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#blogposting","name":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe | STYLY","headline":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe","author":{"@id":"https:\/\/styly.cc\/ja\/author\/kamosoba\/#author"},"publisher":{"@id":"https:\/\/styly.cc\/ja\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png","width":1798,"height":828,"caption":"\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf"},"datePublished":"2018-11-29T06:00:08+09:00","dateModified":"2019-02-07T08:04:17+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#webpage"},"isPartOf":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#webpage"},"articleSection":"Sample Asset, Tips, Unity, Shader, STYLY, Unity"},{"@type":"BreadcrumbList","@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-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":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/styly.cc\/ja\/tips\/"},"nextItem":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#listItem","previousItem":"https:\/\/styly.cc\/ja\/#listItem"},{"@type":"ListItem","@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#listItem","position":3,"item":{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/","name":"[:en]Rendering of masked rotating 2D image with Unity[:ja]Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe[:]","description":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-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\/kamosoba\/#author","url":"https:\/\/styly.cc\/ja\/author\/kamosoba\/","name":"\u304b\u3082\u305d\u3070","image":{"@type":"ImageObject","@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#authorImage","url":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/07\/\u6c38\u7559-\u907c\u5e73_avatar_1531804460-96x96.png","width":96,"height":96,"caption":"\u304b\u3082\u305d\u3070"}},{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#webpage","url":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/","name":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe | STYLY","description":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/styly.cc\/ja\/#website"},"breadcrumb":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#breadcrumblist"},"author":{"@id":"https:\/\/styly.cc\/ja\/author\/kamosoba\/#author"},"creator":{"@id":"https:\/\/styly.cc\/ja\/author\/kamosoba\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2019-01-31-12.58.31.png","@id":"https:\/\/styly.cc\/ja\/#mainImage","width":1798,"height":828,"caption":"\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf"},"primaryImageOfPage":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-rotation-mask-shader\/#mainImage"},"datePublished":"2018-11-29T06:00:08+09:00","dateModified":"2019-02-07T08:04:17+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":"7579","title":"[:en]Rendering of masked rotating 2D image with Unity[:ja]Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe[:] | #site_title","description":"[:en]I explain how to render a masked rotating image. Firstly, create a rotating image. Then, we mask the image. The 'Mask' effect is to show the part of the texture where the mask image is white, while it hides where the mask image is black.[:ja]Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002[:]","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"Unity\u3092\u5229\u7528\u3057\u305f2D\u753b\u50cf\u306e\u56de\u8ee2\u30de\u30b9\u30af\u8868\u73fe","og_description":"Unity\u3092\u5229\u7528\u3057\u3066\u56de\u8ee2\u3059\u308b\u753b\u50cf\u306b\u30de\u30b9\u30af\u3092\u304b\u3051\u308b\u8868\u73fe\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","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","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:03:41","updated":"2023-02-08 08:37:34"},"acf":[],"_links":{"self":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/7579"}],"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\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/comments?post=7579"}],"version-history":[{"count":26,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/7579\/revisions"}],"predecessor-version":[{"id":18760,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/7579\/revisions\/18760"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media\/9865"}],"wp:attachment":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media?parent=7579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/categories?post=7579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/tags?post=7579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}