{"id":11740,"date":"2019-04-12T15:00:53","date_gmt":"2019-04-12T06:00:53","guid":{"rendered":"https:\/\/styly.cc\/?p=11740"},"modified":"2021-12-22T18:18:55","modified_gmt":"2021-12-22T09:18:55","slug":"manga_window_create","status":"publish","type":"post","link":"https:\/\/styly.cc\/ja\/tips\/manga_window_create\/","title":{"rendered":"\u3010Unity\/Shader\u3011\u6f2b\u753b\u306b\u5909\u63db\u3055\u308c\u305f\u4e16\u754c\u3092\u8997\u304f\u30b3\u30de\u306e\u4f5c\u308a\u65b9"},"content":{"rendered":"<p><\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<strong>\u300c\u6f2b\u753b\u306b\u5909\u63db\u3055\u308c\u305f\u4e16\u754c\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b3\u30de\u300d<\/strong>\u306e\u3064\u304f\u308a\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u521d\u3081\u3066\u8a18\u4e8b\u3092\u898b\u305f\u65b9\u306f\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u53c2\u8003\u306eTwitter\u52d5\u753b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<a href=\"https:\/\/twitter.com\/OEKA_AKI\/status\/1115272322217271296\">https:\/\/twitter.com\/OEKA_AKI\/status\/1115272322217271296<\/a><\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001<br \/><strong>\u2460\u30b3\u30de\u3092\u901a\u3059\u3068\u6f2b\u753b\u306b\u5909\u308f\u3063\u305f\u80cc\u666f<\/strong><br \/><strong>\u2461\u30b3\u30de\u6bce\u306b\u9055\u3063\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><br \/>\u304c\u898b\u3048\u308b\u3053\u3068\u3092\u672c\u8a18\u4e8b\u306e\u76ee\u6a19\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u7c21\u7565\u5316\u3057\u3066\u8aac\u660e\u3059\u308b\u306e\u3067\u3001\u672c\u8a18\u4e8b\u3067\u5b8c\u6210\u3059\u308b\u5177\u4f53\u7684\u306a\u30a4\u30e1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_11767\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11767\" class=\"wp-image-11767 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-768x419.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-1024x559.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17.png 1936w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11767\" class=\"wp-caption-text\">\u8d64\u3044\u58c1\u3092\u30b3\u30de\u3092\u901a\u3057\u3066\u8997\u304f\u3068\u3001\u6f2b\u753b\u5316\u3057\u305f\u58c1\u3068\u305d\u308c\u305e\u308c\u306e\u30b3\u30de\u304b\u3089\u5225\u306e\u7403\u4f53\u304c\u898b\u3048\u308b<\/p><\/div>\n<p>\u7c21\u7565\u5316\u3057\u307e\u3059\u304c\u3001\u751f\u6210\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u3084\u5de5\u7a0b\u6570\u306f\u3084\u3084\u591a\u3044\u3067\u3059\u3002<br \/>\u3068\u308a\u3042\u3048\u305a\u3084\u308a\u65b9\u3092\u8aac\u660e\u3057\u306a\u304c\u3089\u3001\u3068\u3053\u308d\u3069\u3053\u308d\u3067\u3069\u3093\u306a\u4ed5\u7d44\u307f\u304b\u3092\u8aac\u660e\u3067\u304d\u305f\u3089\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u3053\u306e\u65b9\u6cd5\u306f\u30b7\u30a7\u30fc\u30c0\u30fc\u306e\u4f7f\u3044\u65b9\u304c\u5c11\u3057\u308f\u304b\u3089\u306a\u3044\u3068\u5fdc\u7528\u304c\u96e3\u3057\u3044\u306e\u3067\u3001\u305c\u3072\u899a\u3048\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<h3><span id=\"i\">\u4ed5\u7d44\u307f\u306e\u3056\u3063\u304f\u308a\u3068\u3057\u305f\u8aac\u660e<\/span><\/h3>\n<p>\u610f\u5473\u306e\u308f\u304b\u3089\u306a\u3044\u5de5\u7a0b\u3092\u4e00\u3064\u4e00\u3064\u8ffd\u3046\u3060\u3051\u3060\u3068\u9593\u9055\u3048\u3084\u3059\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u3069\u3046\u3044\u3046\u6d41\u308c\u3067\u4f5c\u3063\u3066\u3044\u304f\u304b\u66f8\u304d\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u2460\u3000\u80cc\u666f\u3068\u306a\u308b\u58c1\uff08Wall)\u3092\u3064\u304f\u308b<br \/>\u2461\u3000Wall\u3092\u900f\u904e\u3059\u308b\u30b3\u30de\u3092\u3064\u304f\u308b<\/p>\n<p><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11802 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-300x167.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-768x429.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-1024x571.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18.png 1052w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u2462\u3000\u30b3\u30de\u5185\u3060\u3051\u3067\u8868\u793a\u3055\u308c\u308b\u6f2b\u753b\u5316\u3057\u305f\u58c1\uff08ComicWall\uff09\u3092\u3064\u304f\u308b<\/p>\n<p><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11803 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma19-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma19-300x167.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma19-768x429.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma19-1024x571.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma19.png 1052w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u2463\u3000\u6f2b\u753b\u306e\u7403\u4f53\uff08ComicObject1\uff09\u3092\u6620\u3059\u305f\u3081\u306e\u30b3\u30de\u3092\u3001\u2461\u306b\u91cd\u306d\u3066\u3064\u304f\u308b<br \/>\u2464\u3000\u30b3\u30de\u5185\u3060\u3051\u3067\u8868\u793a\u3055\u308c\u308bComicObject1\u3092\u3064\u304f\u308b<\/p>\n<p><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11804 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-300x167.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-768x429.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-1024x571.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20.png 1052w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u2465\u3000\u30b3\u30de\u3092\u8907\u88fd\u3057\u30662\u3064\u306b\u3059\u308b<br \/>\u2466\u3000\u8907\u88fd\u3057\u305f\u30b3\u30de\u3060\u3051\u3067\u8868\u793a\u3055\u308c\u308bComicObject2\u3092\u3064\u304f\u308b<\/p>\n<p><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11805 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma21-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma21-300x167.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma21-768x429.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma21-1024x571.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma21.png 1052w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4ed5\u7d44\u307f\u3068\u3057\u3066\u306f\u3001<br \/>1\u3000\u30d9\u30fc\u30b9\u306e\u58c1\u3068<strong>\u5168\u304f\u540c\u3058\u5927\u304d\u3055\u306e\u6f2b\u753b\u98a8\u306e\u58c1<\/strong>\u3092\u914d\u7f6e\u3059\u308b<br \/>2\u3000<strong>\u80cc\u666f\u3068\u306a\u308b\u58c1\u3092\u5171\u6709\u3057\u305f\u307e\u307e\u30b3\u30de\u3054\u3068\u306b\u9055\u3046\u7403\u4f53\u3092\u8868\u793a\u3059\u308b\u305f\u3081<\/strong>\u306b\u30b3\u30de\u30922\u91cd\u306b\u3059\u308b<br \/>\u306e2\u70b9\u304c\u91cd\u8981\u306a\u9805\u76ee\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u304c\u3056\u3063\u304f\u308a\u3068\u3057\u305f\u8aac\u660e\u3067\u3059\u3002\u3053\u308c\u3089\u3092\u8e0f\u307e\u3048\u3066\u3001\u3055\u3063\u305d\u304f\u2460\u304b\u3089\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n<h3><span id=\"WallKOMA1\">\u58c1\uff08Wall\uff09\u3068\u30b3\u30de\uff08KOMA1\uff09\u3092\u3064\u304f\u308b<\/span><\/h3>\n<p>\u4eca\u56de\u4f7f\u3046Unity\u306fUnity 2019.3.6f1\u3067\u3059\u3002<br \/><strong>STYLY\u3068\u4e92\u63db\u6027\u306e\u3042\u308bUnity\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3053\u3061\u3089\u304b\u3089\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/strong><br \/><a href=\"https:\/\/document.styly.cc\/doc\/docs\/en\/creator\/creator_plugin_intro\/#%E5%AF%BE%E5%BF%9C%E3%81%99%E3%82%8Bunity%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/document.styly.cc\/doc\/docs\/en\/creator\/creator_plugin_intro\/#%E5%AF%BE%E5%BF%9C%E3%81%99%E3%82%8Bunity%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6<\/a><br \/>\u305d\u3053\u307e\u3067\u8907\u96d1\u306a\u6a5f\u80fd\u306f\u4f7f\u3063\u3066\u306a\u3044\uff08\u306f\u305a\uff09\u306e\u3067\u4ed6\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3082\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4><span id=\"Wall\">\u2460\u80cc\u666f\u3068\u306a\u308b\u58c1\uff08Wall)\u3092\u3064\u304f\u308b<\/span><\/h4>\n<p>\u3067\u306fUnity\u3067\u65b0\u898fProject\u3092\u4f5c\u6210\u3057\u305f\u3089<strong><em>Hierarchy<\/em><\/strong><span style=\"font-size: 8pt;\">\uff08Main Camera\u3068\u304bDirectional Light\u3068\u304b\u3042\u308b\u3068\u3053\u308d\uff09<\/span>\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u300c3D Object\u300d\u304b\u3089\u300cCube\u300d\u3092\u9078\u629e\u3002<br \/>\u3053\u308c\u3067Scene\u5185\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u51fa\u73fe\u3057\u307e\u3059\u3002Cube\u306e\u540d\u524d\u3092\u300cWall\u300d\u306b\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_11807\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma22-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11807\" class=\"wp-image-11807 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma22-1-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma22-1-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma22-1-768x419.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma22-1-1024x559.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma22-1.png 1936w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11807\" class=\"wp-caption-text\"><em><strong>Hierarchy<\/strong><\/em>\u30fb<em><strong>Project<\/strong><\/em>\u30fb<em><strong>Inspector<\/strong><\/em>\u306f\u983b\u51fa\u8a9e\uff01\u7d76\u5bfe\u899a\u3048\u3066\u304f\u3060\u3055\u3044\uff08\u8a18\u4e8b\u4e2d\u3067\u306f\u659c\u4f53\u3067\u8868\u793a\u3057\u307e\u3059\uff09<\/p><\/div>\n<p>Hierarchy\u306eWall\u3092\u9078\u629e\u3059\u308b\u3068Inspector\u306b\u69d8\u3005\u306a\u60c5\u5831\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<br \/>\u6700\u4e0a\u6bb5\u306eTransform\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5909\u5f62\u3084\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\u3067\u306f\u3001Wall\u306eTranceForm\u306e\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11808 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma23.png\" alt=\"\" width=\"445\" height=\"144\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma23.png 445w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma23-300x97.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/p>\n<div id=\"attachment_11809\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma24.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11809\" class=\"wp-image-11809 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma24-300x127.png\" alt=\"\" width=\"300\" height=\"127\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma24-300x127.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma24-768x325.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma24-1024x433.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma24.png 1500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11809\" class=\"wp-caption-text\">\u3053\u308c\u3060\u3051\u3067\u30d9\u30fc\u30b9\u306e\u58c1\u304c\u5b8c\u6210\u3002\u898b\u3084\u3059\u3044\u3088\u3046\u306b\u30ab\u30e1\u30e9\u306e\u4f4d\u7f6e\u3092\u8abf\u6574\u3057\u3088\u3046\u3002<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>\u6b21\u306bWall\u306b\u9069\u7528\u3059\u308b<strong>\u300cMaterial\u300d\u3068\u300cShader\u300d<\/strong>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/><strong>\u3053\u306e2\u3064\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u898b\u3048\u65b9\u3092\u6c7a\u3081\u308b\u3082\u306e\u3067\u3001\u3053\u308c\u304b\u3089\u4f5c\u6210\u3059\u308b\u5168\u3066\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3053\u306e2\u3064\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><\/p>\n<p><em><strong>Project<\/strong><\/em>\u306e\u4e0a\u3067\u53f3\u30af\u30ea\u30c3\u30af\u21d2Create\u21d2Folder\u3092\u4f5c\u6210\u3057\u3001\u540d\u524d\u3092\u300cWall\u300d\u306b\u3057\u307e\u3059\u3002<br \/>\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u5165\u308a\u3001\u6b21\u306fCreate\u3067Material\u3092\u4f5c\u6210\u3057\u540d\u524d\u3092\u300cWall\u300d\u306b\u3057\u307e\u3059\u3002<br \/>\u3055\u3089\u306bCreate\u21d2Shader\u21d2Standard Surface Shader\u3092\u4f5c\u6210\u3001\u540d\u524d\u3092\u300cWall\u300d\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306bShadar\u306e\u4e2d\u8eab\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u304c\u3001\u958b\u3044\u3066\u307f\u308b\u3068\u4e2d\u8eab\u306f\u96e3\u3057\u3044\u8a00\u8a9e\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u306a\u306e\u3067\u3001\u5168\u90e8\u6d88\u3057\u3066\u3068\u308a\u3042\u3048\u305a\u4ee5\u4e0b\u3092\u30b3\u30d4\u30da\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u610f\u5473\u306f\u308f\u304b\u3089\u306a\u304f\u3066\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">Shader \"Custom\/Wall\" {\r\n\tProperties {\r\n\t\t_Mask (\"Mask\", Int) = 100\r\n\t\t_Color (\"Color\", Color) = (1,1,1,1)\r\n\t\t_MainTex (\"Albedo (RGB)\", 2D) = \"white\" {}\r\n\t\t_Glossiness (\"Smoothness\", Range(0,1)) = 0.5\r\n\t\t_Metallic (\"Metallic\", Range(0,1)) = 0.0\r\n\t}\r\n\tSubShader {\r\n\t\tTags\r\n\t\t{\r\n\t\t\t\"RenderType\"=\"Opaque\"\r\n\t\t\t\"Queue\" = \"Geometry-2\"\r\n\t\t}\r\n\t\tLOD 200\r\n\r\n\t\tStencil \r\n\t\t{\r\n\t\t\tRef [_Mask]\r\n\t\t\tComp NotEqual\r\n\t\t}\r\n\r\n\t\tCGPROGRAM\r\n\t\t\/\/ Physically based Standard lighting model, and enable shadows on all light types\r\n\t\t#pragma surface surf Standard fullforwardshadows\r\n\r\n\t\t\/\/ Use shader model 3.0 target, to get nicer looking lighting\r\n\t\t#pragma target 3.0\r\n\r\n\t\tsampler2D _MainTex;\r\n\r\n\t\tstruct Input {\r\n\t\t\tfloat2 uv_MainTex;\r\n\t\t};\r\n\r\n\t\thalf _Glossiness;\r\n\t\thalf _Metallic;\r\n\t\tfixed4 _Color;\r\n\r\n\t\t\/\/ Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader.\r\n\t\t\/\/ See https:\/\/docs.unity3d.com\/Manual\/GPUInstancing.html for more information about instancing.\r\n\t\t\/\/ #pragma instancing_options assumeuniformscaling\r\n\t\tUNITY_INSTANCING_BUFFER_START(Props)\r\n\t\t\t\/\/ put more per-instance properties here\r\n\t\tUNITY_INSTANCING_BUFFER_END(Props)\r\n\r\n\t\tvoid surf (Input IN, inout SurfaceOutputStandard o) {\r\n\t\t\t\/\/ Albedo comes from a texture tinted by color\r\n\t\t\tfixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;\r\n\t\t\to.Albedo = c.rgb;\r\n\t\t\t\/\/ Metallic and smoothness come from slider variables\r\n\t\t\to.Metallic = _Metallic;\r\n\t\t\to.Smoothness = _Glossiness;\r\n\t\t\to.Alpha = c.a;\r\n\t\t}\r\n\t\tENDCG\r\n\t}\r\n\tFallBack \"Diffuse\"\r\n}<\/pre>\n<p>\u305d\u308c\u3067\u306f\u4f5c\u6210\u3057\u305fMaterial\u3068Shader\u3092<em><strong>Hierarchy<\/strong><\/em>\u306eWall\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305aMaterial\u300cWall\u300d\u3092\u30c9\u30e9\u30c3\u30b0\u3057\u3066<em><strong>Hierarchy<\/strong><\/em>\u306eWall\u306b\u30c9\u30ed\u30c3\u30d7\u3002<br \/><em><strong>Hierarchy<\/strong><\/em>\u306eWall\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066<em><strong>Inspector<\/strong><\/em>\u306e\u6700\u4e0b\u6bb5\u3092\u898b\u308b\u3068Material\u306e\u300cWall\u300d\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>Shader\u304cStandard\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066Custom\u21d2Wall\u3092\u9078\u629e\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\u3053\u308c\u3067Material\u3068Shader\u304c\u9069\u7528\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3064\u3044\u3067\u306b\u58c1\u306e\u8272\u3092\u5909\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\u4e0b\u306e\u56f3\u3092\u53c2\u8003\u306b\u3001Shader\u306e\u8a2d\u5b9a\u304b\u3089Color\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_11810\" style=\"width: 452px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11810\" class=\"wp-image-11810 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma25.png\" alt=\"\" width=\"442\" height=\"311\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma25.png 442w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma25-300x211.png 300w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><p id=\"caption-attachment-11810\" class=\"wp-caption-text\"><em><strong>Hierarchy<\/strong><\/em>\u306eWall\u3092\u9078\u629e\u3002<em><strong>Inspector<\/strong><\/em>\u304b\u3089Shader\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3067\u304d\u308b<\/p><\/div>\n<p>\u4ee5\u4e0a\u3067\u58c1\u306e\u8a2d\u7f6e\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h4><span id=\"Wall-2\">\u2461Wall\u3092\u900f\u904e\u3059\u308b\u30b3\u30de\u3092\u3064\u304f\u308b<\/span><\/h4>\n<p><strong><em>Hierarchy<\/em><\/strong>\u3067\u4f55\u3082\u306a\u3044\u3068\u3053\u308d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u4f55\u3082\u9078\u629e\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u53f3\u30af\u30ea\u30c3\u30af\u21d2\u300cCreate Empty\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\u300cGameObject\u300d\u304c\u3067\u304d\u308b\u306e\u3067\u540d\u524d\u3092\u300cKOMA1\u300d\u3068\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u6642<em><strong>Inspector<\/strong><\/em>\u306eTranceform\u3092\u898b\u3066\u3001Position\u3092\uff080,0,0\uff09\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306bKOMA1\u3092\u9078\u629e\u3057\u305f\u72b6\u614b\u3067\u518d\u3073\u53f3\u30af\u30ea\u30c3\u30af\u304b\u30893D Object\u5185\u306e\u300cQuad\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p>\u3053\u306eQuad\u304c\u30b3\u30de\u306b\u306a\u308b\u306e\u3067\u3001\u67a0\u3092\u6700\u521d\u306b\u4f5c\u3063\u3066\u304a\u304d\u307e\u3059\u3002<br \/>KOMA1\u3092\u9078\u629e\u3057\u76f4\u3057\u3066\u30013D Object\u306eCube\u3092\u4f5c\u6210\u3002<strong><em>Inspector<\/em><\/strong>\u306e\u6700\u4e0a\u90e8\u306b\u3042\u308bTransform\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11747 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma5.png\" alt=\"\" width=\"447\" height=\"143\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma5.png 447w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma5-300x96.png 300w\" sizes=\"auto, (max-width: 447px) 100vw, 447px\" \/><\/p>\n<p>\u6b21\u306b\u3001<strong><em>Project<\/em><\/strong>\u3067\u53f3\u30af\u30ea\u30c3\u30af\u21d2Create\u21d2Material\u3092\u4f5c\u6210\u3002\u540d\u524d\u3092Frame\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>Frame\u3092<em>Hierarchy\u306e<\/em>Cube\u306b\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3002<br \/>Cube\u3092\u9078\u629e\u3057\u3066<strong><em>Inspector<\/em><\/strong>\u6700\u4e0b\u6bb5\u306b\u8868\u793a\u3055\u308c\u305fFrame\u304b\u3089Shader\u3092Unlit\/Color\u306b\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<br \/>Main Color\u304b\u3089\u5148\u307b\u3069\u3068\u540c\u69d8\u306b\u8272\u3092\u5909\u66f4\u3067\u304d\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u9ed2\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div id=\"attachment_11749\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma6.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11749\" class=\"wp-image-11749 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma6-300x176.png\" alt=\"\" width=\"300\" height=\"176\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma6-300x176.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma6-768x450.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma6-1024x600.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma6.png 1064w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11749\" class=\"wp-caption-text\">Shader\u306e\u52b9\u679c\u3067Material\u304c\u9ed2\u304f\u306a\u3063\u305f\u3053\u3068\u3067\u3001\u9069\u7528\u3055\u308c\u305fCube\u304c\u9ed2\u304f\u306a\u308b<\/p><\/div>\n<p>\u3053\u308c\u3067\u30b3\u30de\u306e\u4e00\u8fba\u304c\u3067\u304d\u305f\u306e\u3067\u8907\u88fd\uff08Ctrl+D\uff09\u3057\u30664\u8fba\u3092\u57cb\u3081\u307e\u3059\u3002<br \/>\u307e\u305aCube\u3092\u300cFrame\u300d\u3068\u540d\u524d\u3092\u5909\u66f4\u3057\u3001\u9078\u629e\u3057\u305f\u307e\u307e3\u56de\u8907\u88fd\u3002\u5404<strong><em>Inspector<\/em><\/strong>\u306eTransform\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11751\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma7.png\" alt=\"\" width=\"432\" height=\"430\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma7.png 432w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma7-300x300.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma7-160x160.png 160w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma7-320x320.png 320w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>\u3053\u308c\u3067\u30b3\u30de\u67a0\u304c\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\u6b21\u306bQuad\u306e\u8a2d\u5b9a\u3092\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\u307e\u305a\u3001Quad\u306f\u300cWall_KOMA\u300d\u3068\u540d\u524d\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><em><strong>Project<\/strong><\/em>\u306eFolder\u300cWall\u300d\u5185\u3067\u3001\u518d\u3073Material\u3068Shader\u3092\u4f5c\u6210\u3002\u540d\u524d\u306f\u3069\u3061\u3089\u3082\u300cWall_KOMA\u300d\u306b\u3057\u307e\u3059\u3002<br \/>Shader\u300cWall_KOMA\u300d\u306e\u4e2d\u8eab\u306f\u4ee5\u4e0b\u3092\u30b3\u30d4\u30da\u3002<\/p>\n<pre class=\"lang:default decode:true\">Shader \"Custom\/Wall_KOMA\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_Mask (\"Mask\", Int) = 100\r\n\t}\r\n\r\n\tSubShader\r\n\t{\r\n\r\n\t\tTags \r\n\t\t{ \r\n\t\t\t\"RenderType\" = \"Opaque\" \r\n\t\t\t\"Queue\" = \"Geometry-3\"\r\n\t\t}\r\n\r\n\t\tCGINCLUDE\r\n\r\n\t\t#include \"UnityCG.cginc\"\r\n\r\n\t\tstruct v2f\r\n\t\t{\r\n\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\tUNITY_VERTEX_OUTPUT_STEREO\r\n\t\t};\r\n\r\n\t\tv2f vert(appdata_base v)\r\n\t\t{\r\n\t\t\tv2f o;\r\n\t\t\tUNITY_SETUP_INSTANCE_ID(v);\r\n\t\t\tUNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);\r\n\t\t\to.vertex = UnityObjectToClipPos(v.vertex);\r\n\t\t\treturn o;\r\n\t\t}\r\n\r\n\t\tfixed4 frag (v2f i) : SV_Target\r\n\t\t{\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tENDCG\r\n\r\n\t\tPass\r\n\t\t{\r\n\t\t\tColorMask 0\r\n\t\t\tZWrite Off\r\n\t\t\tStencil \r\n\t\t\t{\r\n\t\t\t\tRef [_Mask]\r\n\t\t\t\tComp Always\r\n\t\t\t\tPass Replace\r\n\t\t\t}\r\n\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\tENDCG\r\n\t\t}\r\n\r\n\t}\r\n\r\n}<\/pre>\n<p>\u4f5c\u6210\u3057\u305fMaterial\u300cWall_KOMA\u300d\u3092<em><strong>Hierarchy<\/strong><\/em>\u306eWall_KOMA\u306bD\uff06D\u3002Inspector\u304b\u3089Shader\u300cWall_KOMA\u300d\u3092\u9078\u629e\u3002<br \/>\u3059\u308b\u3068\u767d\u304b\u3063\u305f\u30b3\u30de\u304c\u900f\u660e\u306b\u306a\u308a\u3001\u30ab\u30e1\u30e9\u306e\u5411\u304d\u3092\u8abf\u6574\u3057\u3066\u58c1\u306b\u5411\u3051\u308b\u3068\u3001\u900f\u904e\u3059\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<div id=\"attachment_11802\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11802\" class=\"wp-image-11802 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-300x167.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-768x429.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18-1024x571.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma18.png 1052w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11802\" class=\"wp-caption-text\">\u67a0\u306e\u4e2d\u304c\u900f\u660e\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u5b9f\u9a13\u306f\u6210\u529f\u3060\uff01<\/p><\/div>\n<p>\u305d\u308c\u3067\u306f\u6b21\u306b\u3001\u900f\u904e\u3057\u305f\u5834\u6240\u306b\u300c\u6f2b\u753b\u4e16\u754c\u306e\u58c1\u300d\u3092\u51fa\u73fe\u3055\u305b\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span id=\"i-2\">\u8997\u304f\u3068\u6f2b\u753b\u4e16\u754c\u304c\u898b\u3048\u308b\u30b3\u30de\u3092\u5b8c\u6210\u3055\u305b\u308b<\/span><\/h3>\n<h4><span id=\"ComicWall\">\u2462\u3000\u30b3\u30de\u5185\u3060\u3051\u3067\u8868\u793a\u3055\u308c\u308b\u6f2b\u753b\u5316\u3057\u305f\u58c1\uff08ComicWall\uff09\u3092\u3064\u304f\u308b<\/span><\/h4>\n<p>Wall\u3068\u5168\u304f\u540c\u3058\u5f62\u306e\u3082\u306e\u3092\u8907\u88fd\u3057\u3001\u307e\u305a\u306f\u30b3\u30de\u306e\u4e2d\u3060\u3051\u3067\u8868\u793a\u3055\u305b\u308b\u3088\u3046\u306a\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\u3068\u306f\u8a00\u3063\u3066\u3082\u3084\u308b\u3053\u3068\u306f\u540c\u3058\u3067\u3001Material\u3068Shader\u3092\u4f5c\u6210\u3057\u3066\u9069\u7528\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305aHierarchy\u306eWall\u3092\u9078\u629e\u3057\u8907\u88fd\uff08Ctrl+D)\u3002\u540d\u524d\u3092\u300cComicWall\u300d\u306b\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_11758\" style=\"width: 455px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11758\" class=\"wp-image-11758 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma9.png\" alt=\"\" width=\"445\" height=\"144\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma9.png 445w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma9-300x97.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><p id=\"caption-attachment-11758\" class=\"wp-caption-text\">Wall\u3068\u5168\u304f\u540c\u3058\u5f62\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u88cf\u4e16\u754c\u3092\u8997\u3044\u305f\u3088\u3046\u306a\u8868\u73fe\u306b\u306a\u308b\u306e\u3060<\/p><\/div>\n<p>Project\u306b\u7d20\u6750\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u304c\u3001\u540c\u3058\u5834\u6240\u306b\u4f5c\u3063\u3066\u3044\u304f\u3068\u7169\u96d1\u306b\u306a\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u4e00\u65e6Assets\u306b\u623b\u3063\u3066Folder\u300cComicWall\u300d\u3092\u4f5c\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_11812\" style=\"width: 415px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11812\" class=\"wp-image-11812 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma26.png\" alt=\"\" width=\"405\" height=\"316\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma26.png 405w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma26-300x234.png 300w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><p id=\"caption-attachment-11812\" class=\"wp-caption-text\">\u6574\u7406\u6574\u9813\u3082\u30b9\u30e0\u30fc\u30ba\u306a\u5236\u4f5c\u306b\u306f\u6b20\u304b\u305b\u306a\u3044\u30dd\u30a4\u30f3\u30c8\u3060<\/p><\/div>\n<div class=\"mceTemp\">\u3067\u306f\u30d5\u30a9\u30eb\u30c0\u5185\u3067Material\u300cComicWall\u300d\u3068Shader\u300cComicWall\u300d\u3092\u4f5c\u6210\u3002<br \/>Shader\u300cComicWall\u300d\u306f\u4ee5\u4e0b\u3092\u30b3\u30d4\u30da\u3002<\/div>\n<pre class=\"lang:default decode:true\">Shader \"Custom\/ComicWall\" {\r\n\tProperties\r\n\t{\r\n\t\t_Mask (\"Mask\", Int) = 100\r\n\t\t_MainTex (\"Texture\", 2D) = \"white\" {}\r\n\t}\r\n\tSubShader\r\n\t{\r\n\t\tTags\r\n\t\t{\r\n\t\t\t\"RenderType\"=\"Opaque\"\r\n\t\t\t\"Queue\" = \"Geometry-2\"\t\r\n\t\t}\r\n\t\tLOD 100\r\n\r\n\t\tStencil \r\n\t\t{\r\n\t\t\tRef [_Mask]\r\n\t\t\tComp Equal\r\n\t\t}\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\/\/ make fog work\r\n\t\t\t#pragma multi_compile_fog\r\n\t\t\t\r\n\t\t\t#include \"UnityCG.cginc\"\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 v2f\r\n\t\t\t{\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t\tUNITY_FOG_COORDS(1)\r\n\t\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\t};\r\n\r\n\t\t\tsampler2D _MainTex;\r\n\t\t\tfloat4 _MainTex_ST;\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.uv = TRANSFORM_TEX(v.uv, _MainTex);\r\n\t\t\t\tUNITY_TRANSFER_FOG(o,o.vertex);\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\/\/ sample the texture\r\n\t\t\t\tfixed4 col = tex2D(_MainTex, i.uv);\r\n\t\t\t\t\/\/ apply fog\r\n\t\t\t\tUNITY_APPLY_FOG(i.fogCoord, col);\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}\r\n<\/pre>\n<p>\u4f5c\u6210\u3057\u305fMaterial\u3068Shader\u3092<em><strong>Hierarchy<\/strong><\/em>\u306eComicWall\u306b\u9069\u7528\u3002<br \/>\u3059\u308b\u3068\u30b3\u30de\u306e\u4e2d\u3060\u3051\u304c\u767d\u304f\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_11813\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma27.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11813\" class=\"wp-image-11813 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma27-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma27-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma27-768x419.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma27-1024x559.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma27.png 1936w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11813\" class=\"wp-caption-text\">\u307e\u3060\u6f2b\u753b\u3063\u307d\u304f\u306f\u306a\u3044<\/p><\/div>\n<h5><span id=\"i-3\">\u58c1\u3092\u6f2b\u753b\u98a8\u306b\u3059\u308b<\/span><\/h5>\n<p>\u3053\u3053\u3067\u3001\u3053\u306e\u58c1\u3092\u6f2b\u753b\u98a8\u306b\u3059\u308b\u305f\u3081\u306b<strong>Texture<\/strong>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>Texture\u3068\u306f\u3001\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066Object\u306e\u8868\u9762\u306b\u6a21\u69d8\u3092\u3064\u3051\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u6f2b\u753b\u98a8\u306eTexture\u3092\u7528\u610f\u3057\u305f\u306e\u3067\u3001PC\u306e\u3069\u3053\u304b\u306b\u753b\u50cf\u3068\u3057\u3066\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\u4fdd\u5b58\u3057\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092Unity\u306e<em><strong>Project<\/strong><\/em>\u5185\u306b\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<em><strong>Project<\/strong><\/em>\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<div id=\"attachment_11760\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11760\" class=\"wp-image-11760 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma11.png\" alt=\"\" width=\"1000\" height=\"1000\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma11.png 1000w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma11-300x300.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma11-768x768.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma11-160x160.png 160w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma11-320x320.png 320w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><p id=\"caption-attachment-11760\" class=\"wp-caption-text\">\u30d5\u30ea\u30fc\u7d20\u6750\u3067\u3059\u3002\u81ea\u7531\u306b\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p><\/div>\n<p><em><strong>Hierarchy<\/strong><\/em>\u306eComicWall\u3092\u9078\u629e\u3057\u3001<em><strong>Inspector<\/strong><\/em>\u304b\u3089Material\u300cCW\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5c55\u958b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>None\uff08Texture\uff09\u3068\u66f8\u3044\u3066\u3042\u308b\u30b0\u30ec\u30fc\u306e\u56db\u89d2\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u4e2d\u306bProject\u304b\u3089\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11814 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma28-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma28-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma28-768x419.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma28-1024x559.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma28.png 1936w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3059\u308b\u3068\u67a0\u5185\u306e\u80cc\u666f\u306b\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u9069\u7528\u3055\u308c\u3001\u30b3\u30de\u306e\u4e2d\u304c\u3044\u3088\u3044\u3088\u6f2b\u753b\u4e16\u754c\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff01<br \/>\u305d\u308c\u3067\u306f\u6b21\u306f\u3001\u6f2b\u753b\u4e16\u754c\u306b\u7403\u4f53\uff08ComicObject1\uff09\u3092\u914d\u7f6e\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span id=\"Object\">\u30b3\u30de\u306e\u4e2d\u3060\u3051\u306b\u63cf\u5199\u3055\u308c\u308bObject\u3092\u3064\u304f\u308b<\/span><\/h3>\n<h4><span id=\"ComicObject1\">\u2463\u3000\u6f2b\u753b\u306e\u7403\u4f53\uff08ComicObject1\uff09\u3092\u6620\u3059\u305f\u3081\u306e\u30b3\u30de\u3092\u3001\u2461\u306b\u91cd\u306d\u3066\u3064\u304f\u308b<\/span><\/h4>\n<p>\u307e\u305a\u306f2\u679a\u76ee\u306e\u30b3\u30de\u3092\u3064\u304f\u308b\u305f\u3081\u306b<em><strong>Hierarchy<\/strong><\/em>\u306eWall\uff3fKOMA\u3092\u8907\u88fd\uff08Ctrl+D\uff09\u3002\u540d\u524d\u3092\u300cComicObject\uff3fKOMA\u300d\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f<strong><em>Project<\/em><\/strong>\u306eAssets\u306bFolder\u300cComicObject\u300d\u3092\u4f5c\u6210\u3002<br \/>ComicObject\u306e\u4e2d\u3067Material\u300cCO_KOMA1\u300d\u3068Shader\u300cComicObject_KOMA\u300d\u3068\u540d\u524d\u5909\u66f4\u3002<br \/><em><strong>Hierarchy<\/strong><\/em>\u306eComicObject\uff3fKOMA\u306bD&amp;D\u3002<\/p>\n<p>\u3055\u3089\u306bComicObject\u306e\u4e2d\u3067\u4eca\u5ea6\u306fShader\u21d2Standard Surfece Shader\u3092\u4f5c\u6210\u3057\u300cComicObject_KOMA\u300d\u3068\u540d\u524d\u5909\u66f4\u3002<br \/>\u30b7\u30a7\u30fc\u30c0\u30fc\u306f\u4ee5\u4e0b\u3092\u30b3\u30d4\u30da\u3002<\/p>\n<pre class=\"lang:default decode:true\">Shader \"Custom\/ComicObject_KOMA\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_Mask (\"Mask\", Int) = 1\r\n\t}\r\n\r\n\tSubShader\r\n\t{\r\n\r\n\t\tTags \r\n\t\t{ \r\n\t\t\t\"RenderType\" = \"Opaque\" \r\n\t\t\"Queue\" = \"Geometry-1\"\r\n\t\t}\r\n\r\n\t\tCGINCLUDE\r\n\r\n\t\t#include \"UnityCG.cginc\"\r\n\r\n\t\tstruct v2f\r\n\t\t{\r\n\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\tUNITY_VERTEX_OUTPUT_STEREO\r\n\t\t};\r\n\r\n\t\tv2f vert(appdata_base v)\r\n\t\t{\r\n\t\t\tv2f o;\r\n\t\t\tUNITY_SETUP_INSTANCE_ID(v);\r\n\t\t\tUNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);\r\n\t\t\to.vertex = UnityObjectToClipPos(v.vertex);\r\n\t\t\treturn o;\r\n\t\t}\r\n\r\n\t\tfixed4 frag (v2f i) : SV_Target\r\n\t\t{\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tENDCG\r\n\r\n\t\tPass\r\n\t\t{\r\n\t\t\tColorMask 0\r\n\t\t\tZWrite Off\r\n\t\t\tStencil \r\n\t\t\t{\r\n\t\t\t\tRef [_Mask]\r\n\t\t\t\tComp Always\r\n\t\t\t\tPass Replace\r\n\t\t\t}\r\n\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\tENDCG\r\n\t\t}\r\n\r\n\t}\r\n\r\n}<\/pre>\n<p>ComicObject_KOMA\u306bMaterial\u300cCO_KOMA1\u300d\u3092D&amp;D\u3002Shader\u3092\u300cComicObject_KOMA\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>ComicObject\u7528\u306e\u30b3\u30de\u306e\u8a2d\u5b9a\u306f\u3053\u308c\u3067\u304a\u308f\u308a\u3067\u3059\u3002<\/p>\n<h4><span id=\"ComicObject1-2\">\u2464\u3000\u30b3\u30de\u5185\u3060\u3051\u3067\u8868\u793a\u3055\u308c\u308bComicObject1\u3092\u3064\u304f\u308b<\/span><\/h4>\n<p><em><strong>Hierarchy<\/strong><\/em>\u306e\u4f55\u3082\u306a\u3044\u3068\u3053\u308d\u3092\u30af\u30ea\u30c3\u30af\u3057\u4f55\u3082\u9078\u629e\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067Sphere\u3092\u4f5c\u6210\u3001\u540d\u524d\u306f\u300cComicObject1\u300d\u306b\u3057\u307e\u3059\u3002<br \/>ComicObject\u306e<em><strong>Inspector<\/strong><\/em>\u3067Transform\u21d2Position\u3092(x,y,z)=(0,0,3)\u306b\u3057\u3066KOMA1\u306e\u6b63\u9762\u306b\u304f\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u308c\u3067\u306fComicObject\u306e\u305f\u3081\u306eMaterial\u3068Shader\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002Material\u306f\u300cCO1\u300d\u3001Shader\u306f\u300cComicObject\u300d\u3068\u3044\u3046\u540d\u524d\u306b\u3057\u307e\u3059\u3002<br \/>Shader\u306f\u4ee5\u4e0b\u3092\u30b3\u30d4\u30da\u3002<\/p>\n<pre class=\"lang:default decode:true\">Shader \"Custom\/ComicObject\"\r\n{\r\n\tProperties\r\n\t{\r\n\t\t_Mask (\"Mask\", Int) = 1\r\n\t\t_MainTex (\"Texture\", 2D) = \"white\" {}\r\n\t}\r\n\tSubShader\r\n\t{\r\n\t\tTags { \"RenderType\"=\"Opaque\" }\r\n\t\tLOD 100\r\n\r\n\t\tStencil \r\n\t\t{\r\n\t\t\tRef [_Mask]\r\n\t\t\tComp Equal\r\n\t\t}\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\/\/ make fog work\r\n\t\t\t#pragma multi_compile_fog\r\n\t\t\t\r\n\t\t\t#include \"UnityCG.cginc\"\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 v2f\r\n\t\t\t{\r\n\t\t\t\tfloat2 uv : TEXCOORD0;\r\n\t\t\t\tUNITY_FOG_COORDS(1)\r\n\t\t\t\tfloat4 vertex : SV_POSITION;\r\n\t\t\t};\r\n\r\n\t\t\tsampler2D _MainTex;\r\n\t\t\tfloat4 _MainTex_ST;\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.uv = TRANSFORM_TEX(v.uv, _MainTex);\r\n\t\t\t\tUNITY_TRANSFER_FOG(o,o.vertex);\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\/\/ sample the texture\r\n\t\t\t\tfixed4 col = tex2D(_MainTex, i.uv);\r\n\t\t\t\t\/\/ apply fog\r\n\t\t\t\tUNITY_APPLY_FOG(i.fogCoord, col);\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}\r\n<\/pre>\n<p>\u4f8b\u306b\u3088\u3063\u3066ComicObject\u306bMaterial\u3068Shader\u3092\u9069\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_11804\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11804\" class=\"wp-image-11804 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-300x167.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-768x429.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20-1024x571.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma20.png 1052w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11804\" class=\"wp-caption-text\">\u3053\u3046\u306a\u3063\u3066\u3044\u305f\u3089\u6210\u529f\u3002\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3089<em><strong>Inspector<\/strong><\/em>\u3092\u898b\u76f4\u3057\u3066\u3001\u9069\u7528\u3057\u3066\u3044\u308bShader\u304c\u9593\u9055\u3063\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d\u3057\u3066\u3044\u3053\u3046\u3002<\/p><\/div>\n<p>\u3053\u308c\u3067\u30b3\u30de\u3072\u3068\u3064\u76ee\u306e\u8a2d\u5b9a\u306f\u5168\u3066\u7d42\u4e86\uff01<br \/>\u305d\u308c\u3067\u306f\u6700\u5f8c\u306b\u3001\u30b3\u30de\u3092\u3082\u3046\u4e00\u3064\u5897\u3084\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span id=\"2\">2\u3064\u76ee\u306e\u30b3\u30de\u3092\u3064\u304f\u308b<\/span><\/h3>\n<h4><span id=\"2-2\">\u2465\u3000\u30b3\u30de\u3092\u8907\u88fd\u3057\u30662\u3064\u306b\u3059\u308b<\/span><\/h4>\n<h4><span id=\"ComicObject2\">\u2466\u3000\u8907\u88fd\u3057\u305f\u30b3\u30de\u3060\u3051\u3067\u8868\u793a\u3055\u308c\u308bComicObject2\u3092\u3064\u304f\u308b<\/span><\/h4>\n<p>\u30b3\u30de\u3092\u3082\u3046\u4e00\u3064\u7528\u610f\u3057\u3001\u305d\u308c\u305e\u308c\u9055\u3046\u7403\u4f53\u304c\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a<em><strong>Hierarchy<\/strong><\/em>\u306eKOMA1\u3092\u9078\u629e\u3057\u8907\u88fd\uff08Ctrl+D\uff09\u3002KOMA2\u3068\u540d\u524d\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>\u3053\u306e\u307e\u307e\u3067\u306fKOMA1\u3068\u91cd\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001KOMA2\u306e<em><strong>Inspector<\/strong><\/em>\u304b\u3089Position\u306eX\u3092-1.1\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3055\u3089\u306b<strong style=\"font-style: italic;\">Hierarchy<\/strong>\u306eComicObject1\u3092\u9078\u629e\u3057\u8907\u88fd\uff08Ctrl+D\uff09\u3002ComicObject2\u3068\u540d\u524d\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>\u3053\u306e\u307e\u307e\u3067\u306fComicObject1\u3068\u91cd\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001ComicObject2\u306e<em><strong>Inspector<\/strong><\/em>\u304b\u3089Position\u306eX\u3092-1.1\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div id=\"attachment_11765\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma15.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11765\" class=\"wp-image-11765 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma15-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma15-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma15-768x419.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma15-1024x559.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma15.png 1936w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11765\" class=\"wp-caption-text\">\u30b3\u30de\u3068\u7403\u306f\u3075\u305f\u3064\u306b\u306a\u3063\u305f\u304c\u3069\u3061\u3089\u306e\u30b3\u30de\u3082\u540c\u30582\u3064\u306e\u7403\u304c\u898b\u3048\u308b<\/p><\/div>\n<p>\u6b21\u306b<em><strong>Project<\/strong><\/em>\u306eFolder\u300cComicObject\u300d\u306e\u4e2d\u306b\u3042\u308bMaterial\u300cCO1\u300d\u300cCO1_KOMA\u300d\u3092\u8907\u88fd\u3057\u3066\u3001\u300cCO2\u300d\u300cCO2_KOMA\u300d\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u6b21\u304c\u91cd\u8981\u306a\u64cd\u4f5c\u3067\u3059\u3002<br \/>\u4f5c\u6210\u3057\u305fCO2\u3001CO2_KOMA\u306e<em>Inspector\u3067Mask\u30922\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/em><\/strong><\/p>\n<div id=\"attachment_11766\" style=\"width: 455px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11766\" class=\"wp-image-11766 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma16.png\" alt=\"\" width=\"445\" height=\"215\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma16.png 445w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma16-300x145.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><p id=\"caption-attachment-11766\" class=\"wp-caption-text\"><em><strong>Project<\/strong><\/em>\u4e0a\u3067\u3082<em><strong>Inspector<\/strong><\/em>\u3092\u4fee\u6b63\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>\u4f5c\u6210\u3057\u305fMaterial\u300cCO2\u300d\u3092<em><strong>Hierarchy<\/strong><\/em>\u306eComicObject2\u306b\u3001Material\u300cCO2_KOMA\u300d\u3092<em><strong>Hierarchy<\/strong><\/em>\u306e<strong>KOMA2\u5185<\/strong>\u306e\u300cComicObject_KOMA\u300d\u306b\u9069\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>Mask\u3068\u3044\u3046\u5024\u304c\u30b3\u30de\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u4e00\u81f4\u3057\u3066\u3044\u308b\u6642\u306e\u307f\u63cf\u5199\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308b<\/strong>\u3001\u3068\u3044\u3046\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\u3055\u3089\u306b\u30b3\u30de\u3092\u5897\u3084\u3057\u305f\u3089\u3055\u3089\u306bCO\u3068CO_KOMA\u306eMaterial\u3092\u4f5c\u3063\u3066MASK\u30923\u30014\u30015\u2026\u3068\u3057\u3066\u3044\u3051\u3070\u540c\u69d8\u306e\u52b9\u679c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"font-size: 10pt;\">\u6539\u3081\u3066Wall\u30fbComicWall\u306eInspector\u3092\u898b\u3066\u3082\u3089\u3046\u3068\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u3061\u3089\u306b\u306f100\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>Wall\u3068Object\u3092\u5225\u306eMASK\u5024\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30de\u540c\u58eb\u3067ComicWall\u306e\u63cf\u5199\u3092\u5171\u6709\u3057\u306a\u304c\u3089\u3001Object\u3060\u3051\u3092\u5165\u308c\u66ff\u3048\u3066\u3044\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\uff08\u9006\u306b\u305d\u3046\u3057\u306a\u3044\u3068\u30b3\u30de\u3054\u3068\u306b\u80cc\u666f\u3082\u8907\u88fd\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u30012\u679a\u91cd\u306d\u306b\u3059\u308b\u3053\u3068\u3067\u7d20\u6750\u306e\u914d\u7f6e\u3092\u62bc\u3055\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff09<\/span><\/p>\n<p><span style=\"font-size: 10pt;\">\u203b\u3061\u306a\u307f\u306b\u30b3\u30de\u30921\u3064\u3057\u304b\u904b\u7528\u3057\u306a\u3044\uff08\u8907\u6570\u306e\u30b3\u30de\u3092\u4f7f\u7528\u3057\u306a\u3044\uff09\u60f3\u5b9a\u3067\u3042\u308c\u3070\u3001WALL\u30fbComicWall\u3082ComicObject\u3068\u540c\u3058MASK\u5024\u3067\u3088\u304f\u306a\u308a\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 10pt;\">\u3000\u30b3\u30de\u30922\u679a\u91cd\u306d\u306b\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u7528\u9014\u306b\u3088\u3063\u3066\u4f7f\u3044\u5206\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u7403\u4f53\u304c\u771f\u3063\u767d\u3060\u3068\u5473\u6c17\u306a\u3044\u306e\u3067\u3001ComicObject\u306etexture\u3092\u9069\u5f53\u306b\u5909\u3048\u307e\u3057\u3087\u3046\u3002<br \/>\u4ee5\u4e0a\u3067\u5b8c\u6210\u3067\u3059\u3002\u5fd8\u308c\u305a\u306bFile\u304b\u3089Save Seane\u3092\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u304a\u75b2\u308c\u3055\u307e\u3067\u3057\u305f\uff01\uff01\uff01<\/p>\n<div id=\"attachment_11767\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11767\" class=\"wp-image-11767 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-768x419.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17-1024x559.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/04\/koma17.png 1936w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-11767\" class=\"wp-caption-text\">\u3061\u306a\u307f\u306bComicObject\u306eShader\u306fUnlit Shader\u3092\u30d9\u30fc\u30b9\u306b\u4f5c\u6210\u3057\u3066\u3044\u308b<\/p><\/div>\n<h3><span id=\"i-4\">\u6700\u5f8c\u306b<\/span><\/h3>\n<p>\u4eca\u56de\u306fShader\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306f\u8272\u3005\u306aCustom Shader\u3092\u4f7f\u3044\u305f\u3044\u6642\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>KOMA\u5074\u306eShader\u306f\u5909\u3048\u308b\u5fc5\u8981\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u80cc\u666f\u3084Object\u5074\u306eShader\u3092\u5909\u3048\u308b\u3068\u304d\u306f\u2026<\/p>\n<p>\u3010Wall\u3011<\/p>\n<pre class=\"lang:default decode:true \">\u25c7Properties\u306e\u4e2d\u306b\r\n_Mask (\"Mask\", Int) = 100\r\n\r\n\u25c7SubShader\u306e\u4e2d\u306eTags\u306e\u4e2d\u306b\r\n\"Queue\" = \"Geometry-2\"\r\n\r\n\u25c7CGPROGRAM\uff08\u307e\u305f\u306f Pass{CGPROGRAM \uff09\u306e\u76f4\u524d\u306b\r\nStencil {Ref [_Mask] Comp NotEqual}<\/pre>\n<p>\u3010ComicWall\u3011<\/p>\n<pre class=\"lang:default decode:true\">\u25c7Properties\u306e\u4e2d\u306b\r\n_Mask (\"Mask\", Int) = 100\r\n\r\n\u25c7SubShader\u306e\u4e2d\u306eTags\u306e\u4e2d\u306b\r\n\"Queue\" = \"Geometry-2\"\r\n\r\n\u25c7CGPROGRAM\uff08\u307e\u305f\u306f Pass{CGPROGRAM \uff09\u306e\u76f4\u524d\u306b\r\nStencil{Ref [_Mask] Comp Equal}<\/pre>\n<p>\u3010ComicObject\u3011<\/p>\n<pre class=\"lang:default decode:true\">\u25c7Properties\u306e\u4e2d\u306b\r\n_Mask (\"Mask\", Int) = 1\r\n\r\n\u25c7CGPROGRAM\uff08\u307e\u305f\u306f Pass{CGPROGRAM \uff09\u306e\u76f4\u524d\u306b\r\nStencil{Ref [_Mask] Comp Equal}<\/pre>\n<p>\u3092\u8a18\u8f09\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>CGPROGRAM\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u305d\u306e\u5168\u3066\u306e\u76f4\u524d\u306bStencil\u3092\u66f8\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><span style=\"font-size: 10pt;\">\u307e\u305f\u3001\u3010Wall\u3011\u3010ComicWall\u3011\u306fAlphaTest\u3084Transparent\u306eShader\u306b\u9069\u7528\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u3067\u3059\u3002<\/span><br \/><span style=\"font-size: 10pt;\">\uff08\u3010Wall\u3011\u7cfb\u306fQueue\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u304c\u3001Transparent\u306a\u3069\u306fQueue\u306e\u5024\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u305f\u3081\uff09<\/span><br \/><span style=\"font-size: 10pt;\">\u305d\u306e\u4ed6Custom Shader\u3067Queue\u306e\u5024\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3082\u306e\u3084\u30b9\u30c6\u30f3\u30b7\u30eb\u30d0\u30c3\u30d5\u30a1\u5024\u3092\u66f8\u304d\u63db\u3048\u308b\u3082\u306e\u3068\u306f\u76f8\u6027\u304c\u60aa\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 10pt;\">\u305d\u306e\u5834\u5408\u306fQueue\u306e\u5024\u3092\u305a\u3089\u3059\u3053\u3068\u3067\u4f7f\u7528\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u304c\u3093\u3070\u3063\u3066\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\uff01\uff01<\/span><\/p>\n<p>\u5927\u5909\u9577\u304f\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u30b3\u30de\u3067\u6f2b\u753b\u4e16\u754c\u3092\u8997\u304f\u3084\u308a\u65b9\u306e\u8aac\u660e\u3067\u3057\u305f\u3002<br \/>\u6f2b\u753b\u4e16\u754c\u306e\u8868\u73fe\u306b\u3064\u3044\u3066\u306f\u3001\u4eca\u56de\u306f\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u304c\u52d5\u753b\u3067\u306f\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\u300c\u6f2b\u753b\u3000\u30b7\u30a7\u30fc\u30c0\u30fc\u300d\u306a\u3069\u3067\u691c\u7d22\u3057\u3066\u3001\u6c17\u306b\u306a\u308b\u3082\u306e\u304c\u3042\u3063\u305f\u3089\u4e0a\u8a18\u306e\u65b9\u6cd5\u3067\u8a2d\u5b9a\u3057\u3066\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p>\u4ee5\u4e0a\u3001\u5c0f\u6c5f\u83ef\u3042\u304d\u3067\u3057\u305f\u3002\u304a\u3064\u304b\u308c\u3055\u307e\u3067\u3057\u305f\uff01<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300c\u6f2b\u753b\u306b\u5909\u63db\u3055\u308c\u305f\u4e16\u754c\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b3\u30de\u300d\u306e\u3064\u304f\u308a\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u521d\u3081\u3066\u8a18\u4e8b\u3092\u898b\u305f\u65b9\u306f\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u53c2\u8003\u306eTwitter\u52d5\u753b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002https:<\/p>\n","protected":false},"author":27,"featured_media":11767,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[207,12,23],"tags":[135,136],"class_list":["post-11740","post","type-post","status-publish","format-standard","has-post-thumbnail","category-shader-tips","category-tips","category-unity","tag-vr","tag-136"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/11740","targetHints":{"allow":["GET"]}}],"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\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/comments?post=11740"}],"version-history":[{"count":26,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/11740\/revisions"}],"predecessor-version":[{"id":39839,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/11740\/revisions\/39839"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media\/11767"}],"wp:attachment":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media?parent=11740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/categories?post=11740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/tags?post=11740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}