{"id":8093,"date":"2018-12-12T15:00:51","date_gmt":"2018-12-12T06:00:51","guid":{"rendered":"https:\/\/styly.cc\/?p=8093"},"modified":"2019-02-07T17:02:16","modified_gmt":"2019-02-07T08:02:16","slug":"unity-shader-worldscanline","status":"publish","type":"post","link":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/","title":{"rendered":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe"},"content":{"rendered":"<p><\/p>\n<p>Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 \u00a0<\/p>\n<div id=\"attachment_8096\" style=\"width: 589px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8096\" loading=\"lazy\" class=\"wp-image-8096 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/2.gif\" alt=\"\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe\" width=\"579\" height=\"408\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/2.gif 579w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/2-300x211.gif 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><p id=\"caption-attachment-8096\" class=\"wp-caption-text\">\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe<\/p><\/div>\n<h2><span id=\"i\">\u30b5\u30f3\u30d7\u30eb<\/span><\/h2>\n<p>GitHub\u30b5\u30f3\u30d7\u30eb<\/p>\n<p><a href=\"https:\/\/github.com\/styly-dev\/STYLY-Unity-Examples\/tree\/master\/Assets\/STYLY_Examples\/WorldScanlineShader_Sample\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/styly-dev\/STYLY-Unity-Examples\/tree\/master\/Assets\/STYLY_Examples\/WorldScanlineShader_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=c42952b6-e559-11e8-b34d-4783bb2170d0\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><span id=\"i-2\">\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u306e\u4f5c\u308a\u65b9<\/span><\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3044\u305f\u3057\u307e\u3059\u3002 \u00a0<\/p>\n<h3><span id=\"x\">x\u5ea7\u6a19\u3092\u8272\u3068\u3057\u3066\u4f7f\u3046<\/span><\/h3>\n<p>Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3067\u306f\u3001\u753b\u9762\u306b\u6620\u3063\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u753b\u7d20\u304c<strong>\u7a7a\u9593\u4e2d\u306e\u3069\u306e\u4f4d\u7f6e\u306b\u3042\u308b\u304b<\/strong>\u3068\u3044\u3046\u3001\u5ea7\u6a19\u3092\u3068\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001<strong>\u7a7a\u9593\u306ex\u5ea7\u6a19<\/strong>\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u3068\u3057\u3066\u4f7f\u3046\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u898b\u305f\u76ee\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8097\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8097\" loading=\"lazy\" class=\"wp-image-8097 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/3_position_x.png\" alt=\"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u306bx\u5ea7\u6a19\u3092\u9069\u7528\" width=\"580\" height=\"407\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/3_position_x.png 580w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/3_position_x-300x211.png 300w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><p id=\"caption-attachment-8097\" class=\"wp-caption-text\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u306bx\u5ea7\u6a19\u3092\u9069\u7528<\/p><\/div>\n<p>x\u5ea7\u6a19\u304c0.0\u3088\u308a\u5c0f\u3055\u3044\u90e8\u5206\u306f\u9ed2\u8272\u306b\u3001 1.0\u3088\u308a\u5927\u304d\u3044\u90e8\u5206\u306f\u767d\u8272\u306b\u30010.0 ~ 1.0\u306e\u90e8\u5206\u306f\u7070\u8272\u306b\u306a\u308a\u307e\u3059\u3002 \u00a0 Unity\u306eShaderLab\u3067\u66f8\u3044\u305f\u5834\u5408\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">float x = IN.worldPos.x; \/\/ x\u5ea7\u6a19\r\no.Emission = x; \/\/ \u8272\u3068\u3057\u3066\u51fa\u529b<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-3\">\u5149\u306e\u7dda\u3092\u4f5c\u308b<\/span><\/h3>\n<p><strong>0.0 \u2266 x\u5ea7\u6a19 \u2266 0.1\u3092\u6e80\u305f\u3059\u3068\u304d<\/strong>\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u3092\u767d\u304f\u3001\u305d\u308c\u4ee5\u5916\u306f\u9ed2\u304f\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8101\" style=\"width: 739px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8101\" loading=\"lazy\" class=\"wp-image-8101 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/5_x_between-1.png\" alt=\"0\u2266x\u22660.1\u306e\u90e8\u5206\u3092\u767d\u304f\u3059\u308b\" width=\"729\" height=\"507\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/5_x_between-1.png 729w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/5_x_between-1-300x209.png 300w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><p id=\"caption-attachment-8101\" class=\"wp-caption-text\">0\u2266x\u22660.1\u306e\u90e8\u5206\u3092\u767d\u304f\u3059\u308b<\/p><\/div>\n<p>\u00a0 Unity\u306eShaderLab\u3067\u66f8\u3044\u305f\u5834\u5408\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059<\/p>\n<pre class=\"lang:default decode:true\">float x = IN.worldPos.x; \/\/ x\u5ea7\u6a19\r\no.Emission = step(0.0, x) * step(x, 0.1);  \/\/ \u8272\u3068\u3057\u3066\u51fa\u529b<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-4\">\u5149\u306e\u6b8b\u50cf\u3092\u52a0\u3048\u308b<\/span><\/h3>\n<p>\u3053\u308c\u306b\u5149\u306e\u6b8b\u50cf\u3092\u52a0\u3048\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8102\" style=\"width: 742px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8102\" loading=\"lazy\" class=\"wp-image-8102 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/6-2.png\" alt=\"\u5149\u306e\u6b8b\u50cf\u3092\u52a0\u3048\u308b\" width=\"732\" height=\"544\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/6-2.png 732w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/6-2-300x223.png 300w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><p id=\"caption-attachment-8102\" class=\"wp-caption-text\">\u5149\u306e\u6b8b\u50cf\u3092\u52a0\u3048\u308b<\/p><\/div>\n<p>\u00a0 Unity\u306eShaderLab\u3067\u66f8\u3044\u305f\u5834\u5408<\/p>\n<pre class=\"lang:default decode:true\">float x = IN.worldPos.x; \/\/ x\u5ea7\u6a19\r\nfloat scanline = step(0.0, x) * step(x, 0.1); \/\/ \u5149\u306e\u7dda\r\nfloat trajectory = step(x, 0.0) * smoothstep(-4.0, 0.0, x); \/\/ \u5149\u306e\u6b8b\u50cf\r\no.Emission = scanline + trajectory * 0.3; \/\/ \u8272\u3068\u3057\u3066\u51fa\u529b<\/pre>\n<h2><span id=\"i-5\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b<\/span><\/h2>\n<h3><span id=\"i-6\">\u5149\u306e\u7dda\u3092\u52d5\u304b\u3059<\/span><\/h3>\n<p>\u5149\u306e\u7dda\u306e\u7e70\u308a\u8fd4\u3057\u3092\u4f5c\u308a\u3001\u3053\u308c\u3092\u6642\u9593\u3067\u52d5\u304b\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8103\" style=\"width: 589px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8103\" loading=\"lazy\" class=\"wp-image-8103 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/7_time.gif\" alt=\"\u7dda\u3092\u6642\u9593\u3067\u52d5\u304b\u3059\" width=\"579\" height=\"447\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/7_time.gif 579w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/7_time-300x232.gif 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><p id=\"caption-attachment-8103\" class=\"wp-caption-text\">\u7dda\u3092\u6642\u9593\u3067\u52d5\u304b\u3059<\/p><\/div>\n<p>\u00a0 Unity\u306eShaderLab\u3067\u66f8\u3044\u305f\u5834\u5408<\/p>\n<pre class=\"lang:default decode:true\">float x = IN.worldPos.x; \/\/ x\u5ea7\u6a19\r\nx -= _Time.z * 6.0; \/\/ x\u5ea7\u6a19\u304b\u3089\u6642\u9593\u3092\u30de\u30a4\u30ca\u30b9\r\nx = fmod(x, 12.0); \/\/ x\u5ea7\u6a19\u30920.0 ~ 12.0\u306e\u9593\u3067\u7e70\u308a\u8fd4\u3059\r\nfloat scanline = step(-0.1, x) * step(x, 0.0); \/\/ \u5149\u306e\u7dda\r\nfloat trajectory = step(x, 0.0) * smoothstep(-4.0, 0.0, x); \/\/ \u5149\u306e\u6b8b\u50cf\r\no.Emission = scanline + trajectory * 0.3; \/\/ \u8272\u3068\u3057\u3066\u51fa\u529b<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-7\">\u8272\u3092\u3064\u3051\u3066\u5b8c\u6210<\/span><\/h3>\n<p>\u6700\u5f8c\u306b\u8272\u3092\u4e57\u7b97\u3059\u308b\u3053\u3068\u3067\u4eca\u56de\u306e\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe\u306e\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<div id=\"attachment_8104\" style=\"width: 589px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8104\" loading=\"lazy\" class=\"wp-image-8104 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/8.gif\" alt=\"\u8272\u3092\u4ed8\u3051\u308b\" width=\"579\" height=\"423\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/8.gif 579w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/8-300x219.gif 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><p id=\"caption-attachment-8104\" class=\"wp-caption-text\">\u8272\u3092\u4ed8\u3051\u308b<\/p><\/div>\n<pre class=\"lang:default decode:true\">float x = IN.worldPos.x; \/\/ x\u5ea7\u6a19\r\nx -= _Time.z * 6.0; \/\/ \u6642\u9593\u3092\u30de\u30a4\u30ca\u30b9\r\nx = fmod(x, 12.0); \/\/ x\u5ea7\u6a19\u30920.0 ~ 12.0\u306e\u9593\u3067\u7e70\u308a\u8fd4\u3059\r\nfloat scanline = step(-0.1, x) * step(x, 0.0); \/\/ \u5149\u306e\u7dda\r\nfloat trajectory = step(x, 0.0) * smoothstep(-4.0, 0.0, x); \/\/ \u5149\u306e\u6b8b\u50cf\r\no.Emission = scanline * _LineColor + trajectory * _TrajectoryColor; \/\/ \u8272\u3068\u3057\u3066\u51fa\u529b<\/pre>\n<h2><span id=\"Unity\">\u5b9f\u969b\u306bUnity\u3067\u4f5c\u308b<\/span><\/h2>\n<h3><span id=\"i-8\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/span><\/h3>\n<p>Create\/Shader\/Unlit Shader\u3092\u9078\u629e\u3057\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8109\" style=\"width: 512px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8109\" loading=\"lazy\" class=\"wp-image-8109 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/9_create_shader.png\" alt=\"\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\" width=\"502\" height=\"301\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/9_create_shader.png 502w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/9_create_shader-300x180.png 300w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><p id=\"caption-attachment-8109\" class=\"wp-caption-text\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/p><\/div>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u540d\u306fWorldScanline\u3068\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8110\" style=\"width: 131px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8110\" loading=\"lazy\" class=\"wp-image-8110 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/10_rename_shader.png\" alt=\"\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\" width=\"121\" height=\"136\" \/><p id=\"caption-attachment-8110\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb<\/p><\/div>\n<h3><span id=\"i-9\">\u30b7\u30a7\u30fc\u30c0\u30fc\u306e\u7de8\u96c6<\/span><\/h3>\n<p>WorldScanline\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u958b\u304d\u3001\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"WorldScanline.shader\">Shader \"STYLY\/Examples\/WorldScanline\" {\r\n\tProperties{\r\n\t\t_MainTex(\"Albedo (RGB)\", 2D) = \"black\" {}\r\n\t\t_LineColor(\"Scan Line Color\", Color) = (1,1,1,1)\r\n\t\t_TrajectoryColor(\"Scan Trajectory Color\", Color) = (0.3, 0.3, 0.3, 1)\r\n\t\t_LineSpeed(\"Scan Line Speed\", Float) = 1.0\r\n\t\t_LineSize(\"Scan Line Size\", Float) = 0.02\r\n\t\t_TrajectorySize(\"Scan Trajectory Size\", Float) = 1.0\r\n\t\t_IntervalSec(\"Scan Interval\", Float) = 2.0\r\n\r\n\t\t[Space]\r\n\t\t[Space]\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\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\/\/ Physically based Standard lighting model, and enable shadows on all light types\r\n\t\t\t#pragma surface surf Standard fullforwardshadows\r\n\r\n\t\t\t\/\/ Use shader model 3.0 target, to get nicer looking lighting\r\n\t\t\t#pragma target 3.0\r\n\r\n\t\t\tsampler2D _MainTex;\r\n\r\n\t\t\tstruct Input {\r\n\t\t\t\tfloat2 uv_MainTex;\r\n\t\t\t\tfloat3 worldPos;\r\n\t\t\t};\r\n\r\n\t\t\t\/\/ line parameters\r\n\t\t\tfixed4 _LineColor; \/\/ color of line\r\n\t\t\thalf _LineSpeed; \/\/ speed of line movement\r\n\t\t\thalf _LineSize; \/\/ thickness of line\r\n\r\n\t\t\tfixed4 _TrajectoryColor; \/\/ color of trajectory\r\n\t\t\thalf _TrajectorySize; \/\/ size of trajectory\r\n\r\n\t\t\thalf _IntervalSec; \/\/ interval(sec)\r\n\r\n\t\t\t\/\/ other\r\n\t\t\thalf _Glossiness;\r\n\t\t\thalf _Metallic;\r\n\r\n\t\t\tvoid surf(Input IN, inout SurfaceOutputStandard o) {\r\n\r\n\t\t\t\t#define LINE_POS (_Time.w * _LineSpeed)\r\n\t\t\t\t#define INTERVAL (_IntervalSec * _LineSpeed)\r\n\t\t\t\t#define STEP_EDGE (_LineSize)\r\n\t\t\t\t#define STEP_EDGE_1 (STEP_EDGE + _TrajectorySize)\r\n\t\t\t\t#define STEP_EDGE_2 (STEP_EDGE)\r\n\r\n\t\t\t\tfloat scanline = step(\r\n\t\t\t\t\t\tfmod(abs(IN.worldPos.x - LINE_POS), INTERVAL),\r\n\t\t\t\t\t\tSTEP_EDGE\r\n\t\t\t\t\t);\r\n\t\t\t\tfloat trajectory = smoothstep(\r\n\t\t\t\t\t\tSTEP_EDGE_1, STEP_EDGE_2,\r\n\t\t\t\t\t\tfmod(abs(IN.worldPos.x - LINE_POS), INTERVAL)\r\n\t\t\t\t\t);\r\n\r\n\t\t\t\tfixed4 baseColor = tex2D(_MainTex, IN.uv_MainTex);\r\n\t\t\t\to.Albedo = baseColor.rgb;\r\n\t\t\t\to.Emission = _LineColor * scanline + _TrajectoryColor * trajectory;\r\n\t\t\t\to.Metallic = _Metallic;\r\n\t\t\t\to.Smoothness = _Glossiness;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t\t\tFallBack \"Diffuse\"\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-10\">\u30de\u30c6\u30ea\u30a2\u30eb\u4f5c\u6210<\/span><\/h3>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u53f3\u30af\u30ea\u30c3\u30af\u9078\u629e\u3057\u3001Create\/Material \u3092\u9078\u629e\u3057\u3066\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8111\" style=\"width: 951px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8111\" loading=\"lazy\" class=\"wp-image-8111 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/11_create_material-e1544339038474.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u4f5c\u6210\" width=\"941\" height=\"432\" \/><p id=\"caption-attachment-8111\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u4f5c\u6210<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_8113\" style=\"width: 129px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8113\" loading=\"lazy\" class=\"wp-image-8113 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/12_material.png\" alt=\"\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\" width=\"119\" height=\"129\" \/><p id=\"caption-attachment-8113\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-11\">\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u7bb1\u306b\u5f35\u308a\u4ed8\u3051\u308b<\/span><\/h3>\n<p>Hierarhchy\u306eCreate\/Cube\u3092\u9078\u629e\u3057\u3001Cube(\u7bb1)\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8114\" style=\"width: 388px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8114\" loading=\"lazy\" class=\"wp-image-8114 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/13.png\" alt=\"Cube\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\" width=\"378\" height=\"358\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/13.png 378w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/13-300x284.png 300w\" sizes=\"(max-width: 378px) 100vw, 378px\" \/><p id=\"caption-attachment-8114\" class=\"wp-caption-text\">Cube\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_8115\" style=\"width: 494px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8115\" loading=\"lazy\" class=\"wp-image-8115 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/14_cube.png\" alt=\"\u4f5c\u6210\u3057\u305fCube\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\" width=\"484\" height=\"447\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/14_cube.png 484w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/14_cube-300x277.png 300w\" sizes=\"(max-width: 484px) 100vw, 484px\" \/><p id=\"caption-attachment-8115\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305fCube\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/p><\/div>\n<p>\u00a0 \u4f5c\u6210\u3057\u305fCube\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3001Cube\u306b\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u304f\u3063\u3064\u3051\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8116\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8116\" loading=\"lazy\" class=\"wp-image-8116 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/15_drag_and_drop.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u7bb1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u9069\u7528\" width=\"853\" height=\"466\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/15_drag_and_drop.png 853w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/15_drag_and_drop-300x164.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/15_drag_and_drop-768x420.png 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><p id=\"caption-attachment-8116\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u7bb1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u9069\u7528<\/p><\/div>\n<p>\u00a0 \u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u9069\u7528\u3057\u305f\u72b6\u614b\u3067\u30b2\u30fc\u30e0\u3092\u518d\u751f\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30e9\u30a4\u30f3\u304c\u6d41\u308c\u308b\u7bb1\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8118\" style=\"width: 456px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8118\" loading=\"lazy\" class=\"wp-image-8118 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/16_cube.gif\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u9069\u7528\u7d50\u679c\" width=\"446\" height=\"363\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/16_cube.gif 446w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/16_cube-300x244.gif 300w\" sizes=\"(max-width: 446px) 100vw, 446px\" \/><p id=\"caption-attachment-8118\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u9069\u7528\u7d50\u679c<\/p><\/div>\n<h2><span id=\"i-12\">\u677f\u3092\u4f5c\u308b<\/span><\/h2>\n<h3><span id=\"SciFi\">SciFi\u306a\u611f\u3058\u306e\u677f\u3092\u4f5c\u308b<\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306aSciFi\u306a\u96f0\u56f2\u6c17\u305f\u3060\u3088\u3046\u677f\u306e\u4f5c\u308a\u65b9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8119\" style=\"width: 642px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8119\" loading=\"lazy\" class=\"wp-image-8119 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17.gif\" alt=\"\u677f\u72b6\u306b\u4e26\u3079\u305f\u7acb\u65b9\u4f53\u306b\u5bfe\u3059\u308b\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe\" width=\"632\" height=\"598\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17.gif 632w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17-300x284.gif 300w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><p id=\"caption-attachment-8119\" class=\"wp-caption-text\">\u677f\u72b6\u306b\u4e26\u3079\u305f\u7acb\u65b9\u4f53\u306b\u5bfe\u3059\u308b\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe<\/p><\/div>\n<p>\u00a0 \u00a0 \u307e\u305a\u306f\u3001Cube\u3092\u305f\u304f\u3055\u3093\u4e26\u3079\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u677f\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8120\" style=\"width: 651px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8120\" loading=\"lazy\" class=\"wp-image-8120 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/16_cube_plane.png\" alt=\"\u7acb\u65b9\u4f53\u3092\u4e26\u3079\u308b\" width=\"641\" height=\"598\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/16_cube_plane.png 641w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/16_cube_plane-300x280.png 300w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><p id=\"caption-attachment-8120\" class=\"wp-caption-text\">\u7acb\u65b9\u4f53\u3092\u4e26\u3079\u308b<\/p><\/div>\n<p>\u00a0 \u30de\u30c6\u30ea\u30a2\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3001\u305d\u308c\u305e\u308c\u306eCube\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8121\" style=\"width: 286px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8121\" loading=\"lazy\" class=\"wp-image-8121 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17_material.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a\" width=\"276\" height=\"388\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17_material.png 276w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17_material-213x300.png 213w\" sizes=\"(max-width: 276px) 100vw, 276px\" \/><p id=\"caption-attachment-8121\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u8a2d\u5b9a<\/p><\/div>\n<p>\u00a0 \u30de\u30c6\u30ea\u30a2\u30eb\u3092\u9069\u7528\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u898b\u305f\u76ee\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_8119\" style=\"width: 642px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-8119\" loading=\"lazy\" class=\"wp-image-8119 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17.gif\" alt=\"\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u9069\u7528\u3057\u305f\u7d50\u679c\" width=\"632\" height=\"598\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17.gif 632w, https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/17-300x284.gif 300w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><p id=\"caption-attachment-8119\" class=\"wp-caption-text\">\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u9069\u7528\u3057\u305f\u7d50\u679c<\/p><\/div>\n<h2><span id=\"UnitySTYLY\">Unity\u304b\u3089STYLY\u306b\u30a2\u30bb\u30c3\u30c8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5<\/span><\/h2>\n<p>Unity\u304b\u3089STYLY\u3078\u30c7\u30fc\u30bf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u30ea\u30f3\u30af\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 <a href=\"https:\/\/styly.cc\/ja\/manual\/unity-asset-uploader\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/styly.cc\/ja\/manual\/unity-asset-uploader\/<\/a><\/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\/8093\" 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":9864,"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,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\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\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-shader-worldscanline\/\" \/>\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\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe\" \/>\n\t\t<meta property=\"og:description\" content=\"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\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-shader-worldscanline\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/11-1.gif\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/11-1.gif\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"901\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\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\/12\/11-1.gif\" \/>\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-shader-worldscanline\\\/#blogposting\",\"name\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u305f\\u7a7a\\u9593\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3\\u8868\\u73fe | STYLY\",\"headline\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u305f\\u7a7a\\u9593\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3\\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\\\/12\\\/11-1.gif\",\"width\":1200,\"height\":901,\"caption\":\"\\u30a2\\u30a4\\u30ad\\u30e3\\u30c3\\u30c1\\u753b\\u50cf\"},\"datePublished\":\"2018-12-12T06:00:51+09:00\",\"dateModified\":\"2019-02-07T08:02:16+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/#webpage\"},\"articleSection\":\"Sample Asset, Tips, Unity, Shader, Unity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/#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\\u306e\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc\\u3092\\u5229\\u7528\\u3057\\u3066\\u3001\\u4ee5\\u4e0b\\u306e\\u3088\\u3046\\u306a\\u5149\\u306e\\u30e9\\u30a4\\u30f3\\u304c\\u8d70\\u308b\\u8868\\u73fe(\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3)\\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-shader-worldscanline\\\/#listItem\",\"previousItem\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#listItem\"},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/#listItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/\",\"name\":\"[:en]How to render a scanline in VR space with Unity[:ja]Unity\\u3092\\u5229\\u7528\\u3057\\u305f\\u7a7a\\u9593\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3\\u8868\\u73fe[:]\",\"description\":\"Unity\\u306e\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc\\u3092\\u5229\\u7528\\u3057\\u3066\\u3001\\u4ee5\\u4e0b\\u306e\\u3088\\u3046\\u306a\\u5149\\u306e\\u30e9\\u30a4\\u30f3\\u304c\\u8d70\\u308b\\u8868\\u73fe(\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3)\\u3092\\u4f5c\\u308b\\u65b9\\u6cd5\\u3092\\u89e3\\u8aac\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/\"},\"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-shader-worldscanline\\\/#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-shader-worldscanline\\\/#webpage\",\"url\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/\",\"name\":\"Unity\\u3092\\u5229\\u7528\\u3057\\u305f\\u7a7a\\u9593\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3\\u8868\\u73fe | STYLY\",\"description\":\"Unity\\u306e\\u30b7\\u30a7\\u30fc\\u30c0\\u30fc\\u3092\\u5229\\u7528\\u3057\\u3066\\u3001\\u4ee5\\u4e0b\\u306e\\u3088\\u3046\\u306a\\u5149\\u306e\\u30e9\\u30a4\\u30f3\\u304c\\u8d70\\u308b\\u8868\\u73fe(\\u30b9\\u30ad\\u30e3\\u30f3\\u30e9\\u30a4\\u30f3)\\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-shader-worldscanline\\\/#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\\\/12\\\/11-1.gif\",\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/#mainImage\",\"width\":1200,\"height\":901,\"caption\":\"\\u30a2\\u30a4\\u30ad\\u30e3\\u30c3\\u30c1\\u753b\\u50cf\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/styly.cc\\\/ja\\\/tips\\\/unity-shader-worldscanline\\\/#mainImage\"},\"datePublished\":\"2018-12-12T06:00:51+09:00\",\"dateModified\":\"2019-02-07T08:02:16+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\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe | STYLY<\/title>\n\n","aioseo_head_json":{"title":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe | STYLY","description":"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","canonical_url":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/","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\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe","og:description":"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","og:url":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/","og:image":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/11-1.gif","og:image:secure_url":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/11-1.gif","og:image:width":1200,"og:image:height":901,"twitter:card":"summary","twitter:title":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe","twitter:description":"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","twitter:image":"https:\/\/styly.cc\/wp-content\/uploads\/2018\/12\/11-1.gif","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/#blogposting","name":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe | STYLY","headline":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\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\/12\/11-1.gif","width":1200,"height":901,"caption":"\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf"},"datePublished":"2018-12-12T06:00:51+09:00","dateModified":"2019-02-07T08:02:16+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/#webpage"},"isPartOf":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/#webpage"},"articleSection":"Sample Asset, Tips, Unity, Shader, Unity"},{"@type":"BreadcrumbList","@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/#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\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\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-shader-worldscanline\/#listItem","previousItem":"https:\/\/styly.cc\/ja\/#listItem"},{"@type":"ListItem","@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/#listItem","position":3,"item":{"@type":"WebPage","@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/","name":"[:en]How to render a scanline in VR space with Unity[:ja]Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe[:]","description":"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/"},"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-shader-worldscanline\/#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-shader-worldscanline\/#webpage","url":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/","name":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe | STYLY","description":"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\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-shader-worldscanline\/#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\/12\/11-1.gif","@id":"https:\/\/styly.cc\/ja\/#mainImage","width":1200,"height":901,"caption":"\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf"},"primaryImageOfPage":{"@id":"https:\/\/styly.cc\/ja\/tips\/unity-shader-worldscanline\/#mainImage"},"datePublished":"2018-12-12T06:00:51+09:00","dateModified":"2019-02-07T08:02:16+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":"8093","title":"[:en]How to render a scanline in VR space with Unity[:ja]Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe[:] | #site_title","description":"[:en]I explain how to render 'scanline', which looks like laser\u00a0running on a surface, with Unity's shader.[:ja]Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\u3092\u4f5c\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002[:]","keywords":"[{\"label\":\"[:ja]shader\",\"value\":\"[:ja]shader\"},{\"label\":\"unity\",\"value\":\"unity\"},{\"label\":\"scanline[:]\",\"value\":\"scanline[:]\"}]","keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"Unity\u3092\u5229\u7528\u3057\u305f\u7a7a\u9593\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3\u8868\u73fe","og_description":"Unity\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5149\u306e\u30e9\u30a4\u30f3\u304c\u8d70\u308b\u8868\u73fe(\u30b9\u30ad\u30e3\u30f3\u30e9\u30a4\u30f3)\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:05:00","updated":"2023-02-08 08:51:34"},"acf":[],"_links":{"self":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/8093"}],"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=8093"}],"version-history":[{"count":33,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/8093\/revisions"}],"predecessor-version":[{"id":23815,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/8093\/revisions\/23815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media\/9864"}],"wp:attachment":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media?parent=8093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/categories?post=8093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/tags?post=8093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}