{"id":9525,"date":"2019-01-23T15:00:18","date_gmt":"2019-01-23T06:00:18","guid":{"rendered":"https:\/\/styly.cc\/?p=9525"},"modified":"2021-12-23T11:09:59","modified_gmt":"2021-12-23T02:09:59","slug":"shadergraph_to_shaderlab","status":"publish","type":"post","link":"https:\/\/styly.cc\/ja\/tips\/shadergraph_to_shaderlab\/","title":{"rendered":"Unity\u306eShaderGraph\u3092\u5229\u7528\u3057\u3066STYLY\u7528\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p><\/p>\n<h2><span id=\"i-13\">\u306f\u3058\u3081\u306b<\/span><\/h2>\n<div>Unity2018\u306e<strong>ShaderGraph<\/strong>\u3092\u5229\u7528\u3057\u3066\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f5c\u6210\u3057\u3001\u3053\u308c\u3092Unity2017.4\u7528\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u306b\u66f8\u304d\u76f4\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/div>\n<p>ShaderGraph\u306fSTYLY\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u304c\u3001 Unity2017.4\u7528\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u306b\u79fb\u690d\u3059\u308b\u3053\u3068\u3067\u3001<strong>STYLY\u4e0a\u3078\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/strong> \u00a0<\/p>\n<p>\u203b2020\/04\/14\u73fe\u5728\u3001STYLY\u306e\u63a8\u5968\u30d0\u30fc\u30b8\u30e7\u30f3\u306fUnity 2019.3.6f1\u3067\u3059\u304cShaderGraph\u306f\u4f7f\u7528\u3067\u304d\u3066\u304a\u3089\u305a\u3001\u5bfe\u5fdc\u4e2d\u3067\u3059\u3002<\/p>\n<p><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><\/p>\n<h2><span id=\"ShaderGraph\">ShaderGraph\u306b\u3064\u3044\u3066<\/span><\/h2>\n<div><strong>ShaderGraph<\/strong>\u306f\u30ce\u30fc\u30c9\u30d9\u30fc\u30b9\u3067\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f5c\u6210\u3059\u308b\u30c4\u30fc\u30eb\u3067\u3001\u8996\u899a\u7684\u306b\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<div>\u00a0<\/div>\n<div>\n<div id=\"attachment_9589\" style=\"width: 1564px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9589\" class=\"wp-image-9589 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/0_overview.gif\" alt=\"ShaderGraph\" width=\"1554\" height=\"1108\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/0_overview.gif 1554w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/0_overview-300x214.gif 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/0_overview-768x548.gif 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/0_overview-1024x730.gif 1024w\" sizes=\"auto, (max-width: 1554px) 100vw, 1554px\" \/><p id=\"caption-attachment-9589\" class=\"wp-caption-text\">ShaderGraph<\/p><\/div>\n<\/div>\n<div>\u00a0<\/div>\n<div>\u8a73\u3057\u304f\u306fUnity\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/div>\n<div><a href=\"https:\/\/blogs.unity3d.com\/jp\/2018\/02\/27\/introduction-to-shader-graph-build-your-shaders-with-a-visual-editor\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/blogs.unity3d.com\/jp\/2018\/02\/27\/introduction-to-shader-graph-build-your-shaders-with-a-visual-editor\/<\/a><\/div>\n<div>\u00a0<\/div>\n<div>\u00a0<\/div>\n<div>\u4f3c\u305f\u30c4\u30fc\u30eb\u3068\u3057\u3066\u306fAmplify Shader Editor\u3084Shader Forge\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u8a73\u7d30\u306f\u5272\u611b\u3057\u307e\u3059\u3002<\/div>\n<div>\u00a0<\/div>\n<h3><span id=\"ShaderGraph-2\">ShaderGraph\u306e\u52d5\u4f5c\u74b0\u5883<\/span><\/h3>\n<p>ShaderGraph\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f<strong>Unity2018.3<\/strong>\u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eUnity\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002 \u00a0<\/p>\n<h3><span id=\"ShaderGraph-3\">ShaderGraph\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<p><a href=\"https:\/\/github.com\/UnityTechnologies\/ShaderGraph_ExampleLibrary\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/UnityTechnologies\/ShaderGraph_ExampleLibrary<\/a> <a href=\"https:\/\/github.com\/rngtm\/ShaderGraphExample\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/rngtm\/ShaderGraphExample<\/a> \u00a0<\/p>\n<h2><span id=\"ShaderGraph-4\">ShaderGraph\u306e\u5c0e\u5165<\/span><\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001Unity2018.3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5b9f\u969b\u306bShaderGraph\u3092\u5c0e\u5165\u3059\u308b\u307e\u3067\u306e\u624b\u9806\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 \u00a0<\/p>\n<h3><span id=\"Unity20183\">Unity2018.3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/h3>\n<p>\u4eca\u56de\u306fUnity Hub\u3092\u5229\u7528\u3057\u3066\u3001Unity2018.3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 <strong>Unity2018.3\u7cfb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u65b9\u306f\u3053\u306e\u6bb5\u843d\u306f\u8aad\u307f\u98db\u3070\u3057\u3066\u69cb\u3044\u307e\u305b\u3093\u3002<\/strong> \u00a0 \u307e\u305a\u306f\u4e0b\u8a18URL\u304b\u3089Unity Hub\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 <a href=\"https:\/\/docs.unity3d.com\/ja\/2018.1\/Manual\/GettingStartedInstallingHub.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.unity3d.com\/ja\/2018.1\/Manual\/GettingStartedInstallingHub.html<\/a> \u00a0<\/p>\n<div>Unity Hub\u304b\u3089Unity2018.3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/div>\n<div>\n<div id=\"attachment_9531\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9531\" class=\"wp-image-9531 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9de4929d-1024x589.png\" alt=\"Unity2018.3\u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eDownload\u3092\u30af\u30ea\u30c3\u30af\" width=\"900\" height=\"518\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9de4929d-1024x589.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9de4929d-300x172.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9de4929d-768x442.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9de4929d.png 1501w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9531\" class=\"wp-caption-text\">Unity2018.3\u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eDownload\u3092\u30af\u30ea\u30c3\u30af<\/p><\/div><br \/>\n\u00a0<\/div>\n<div id=\"attachment_9532\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9532\" class=\"wp-image-9532 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9eab7eae-1024x588.png\" alt=\"Done\u3092\u9078\u629e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u958b\u59cb\" width=\"900\" height=\"517\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9eab7eae-1024x588.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9eab7eae-300x172.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9eab7eae-768x441.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e9eab7eae.png 1503w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9532\" class=\"wp-caption-text\">Done\u3092\u9078\u629e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u958b\u59cb<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"Unity\">Unity\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210<\/span><\/h3>\n<p>Unity2018.3\u7cfb\u306eUnity\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089Unity\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002 \u3053\u3053\u3067\u4f5c\u6210\u3059\u308bUnity\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f<span style=\"color: #ff0000;\"><strong>STYLY\u7528Unity\u30d7\u30ed\u30b8\u30a7\u30af\u30c8(Unity2017.4.0f1)\u3068\u306f\u7121\u95a2\u4fc2<\/strong><span style=\"color: #000000;\">\u306a\u3082\u306e<\/span><\/span>\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u306e\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b\u5c02\u7528\u306eUnity\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u306a\u308a\u307e\u3059\u3002 \u00a0 UnityHub\u304b\u3089Unity2018.3\u7cfb\u3092\u6307\u5b9a\u3057\u3066\u3001Unity\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u898f\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p id=\"fJkhYyU\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9533 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ed4304d3d-1024x587.png\" alt=\"\" width=\"900\" height=\"516\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ed4304d3d-1024x587.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ed4304d3d-300x172.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ed4304d3d-768x440.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ed4304d3d.png 1503w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<h3><span id=\"i-14\">\u00a0<\/span><\/h3>\n<h3><span id=\"PackageManagerShaderGraph\">PackageManager\u7d4c\u7531\u3067ShaderGraph\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/h3>\n<div id=\"attachment_9536\" style=\"width: 803px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9536\" class=\"wp-image-9536 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f100b52b2.png\" alt=\"Package Manager\u3092\u8d77\u52d5\" width=\"793\" height=\"300\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f100b52b2.png 793w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f100b52b2-300x113.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f100b52b2-768x291.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><p id=\"caption-attachment-9536\" class=\"wp-caption-text\">Package Manager\u3092\u8d77\u52d5<\/p><\/div>\n<p>\u00a0 \u30d1\u30c3\u30b1\u30fc\u30b8\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fShaderGraph\u306f\u96a0\u308c\u3066\u3044\u308b\u305f\u3081\u3001 Advanced\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066Show preview package\u3092\u9078\u3073\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9537\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9537\" class=\"wp-image-9537 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f15719773-1024x576.png\" alt=\"Advanced\u3092\u30af\u30ea\u30c3\u30af\" width=\"900\" height=\"506\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f15719773-1024x576.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f15719773-300x169.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f15719773-768x432.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f15719773.png 1293w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9537\" class=\"wp-caption-text\">Advanced\u3092\u30af\u30ea\u30c3\u30af<\/p><\/div>\n<p>&nbsp;<\/p>\n<div>ShaderGraph\u3068Render-Pipeline.Lightweight\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059<\/div>\n<div>\u00a0<\/div>\n<div>\n<div id=\"attachment_9539\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9539\" class=\"wp-image-9539 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f48d41751-1024x715.png\" alt=\"ShaderGraph\u3068Render-Pipeline.Lightweight\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\" width=\"900\" height=\"628\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f48d41751-1024x715.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f48d41751-300x209.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f48d41751-768x536.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f48d41751.png 1185w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9539\" class=\"wp-caption-text\">ShaderGraph\u3068Render-Pipeline.Lightweight\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p><\/div>\n<\/div>\n<h3><span id=\"i-15\">\u00a0<\/span><\/h3>\n<h3><span id=\"Lightweight_RPUnity\">Lightweight RP\u3092Unity\u306b\u767b\u9332<\/span><\/h3>\n<p>\u6700\u5f8c\u306b\u3001Lightweight Render Pipeline\u3092Unity\u306b\u767b\u9332\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u00a0<\/p>\n<h4><span id=\"Lightweight_Render_Pipeline\">Lightweight Render Pipeline\u30a2\u30bb\u30c3\u30c8\u3092\u4f5c\u6210<\/span><\/h4>\n<p>Create &gt; Rendering &gt;\u00a0Lightweight Render Pipeline Asset \u3092\u9078\u629e\u3057\u3001Lightweight Render Pipeline\u30a2\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><div id=\"attachment_9540\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9540\" class=\"wp-image-9540 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f61793827-1024x357.png\" alt=\"LWRP\u30a2\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\" width=\"900\" height=\"314\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f61793827-1024x357.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f61793827-300x105.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f61793827-768x268.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f61793827.png 1527w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9540\" class=\"wp-caption-text\">Lightweight Render Pipeline \u30a2\u30bb\u30c3\u30c8\u3092\u4f5c\u6210<\/p><\/div><br \/>\n<div id=\"attachment_9577\" style=\"width: 182px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9577\" class=\"wp-image-9577 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c442b1ad70ac.png\" alt=\"\u4f5c\u6210\u3057\u305fLightweight Render Pipeline \u30a2\u30bb\u30c3\u30c8\" width=\"172\" height=\"192\" \/><p id=\"caption-attachment-9577\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305fLightweight Render Pipeline \u30a2\u30bb\u30c3\u30c8<\/p><\/div><\/p>\n<p>&nbsp;<\/p>\n<h4><span id=\"Lightweight_Render_Pipeline-2\">Lightweight Render Pipeline\u30a2\u30bb\u30c3\u30c8\u3092\u767b\u9332<\/span><\/h4>\n<p>Edit &gt; Project Settings&#8230; \u3092\u9078\u3073\u3001\u8a2d\u5b9a\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9541\" style=\"width: 444px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9541\" class=\"wp-image-9541 \" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f6a9d52f1.png\" alt=\"Project Settings\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f\" width=\"434\" height=\"616\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f6a9d52f1.png 669w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f6a9d52f1-211x300.png 211w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><p id=\"caption-attachment-9541\" class=\"wp-caption-text\">Project Settings\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f<\/p><\/div>\n<p>\u00a0 \u5148\u307b\u3069\u4f5c\u6210\u3057\u305fLightweight Render Pipeline \u30a2\u30bb\u30c3\u30c8\u3092\u8a2d\u5b9a\u753b\u9762\u306b\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9542\" style=\"width: 1591px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9542\" class=\"wp-image-9542 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f7b84d3bf.png\" alt=\"Lightweight Render Pipeline \u30a2\u30bb\u30c3\u30c8\u3092\u767b\u9332\" width=\"1581\" height=\"693\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f7b84d3bf.png 1581w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f7b84d3bf-300x131.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f7b84d3bf-768x337.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43f7b84d3bf-1024x449.png 1024w\" sizes=\"auto, (max-width: 1581px) 100vw, 1581px\" \/><p id=\"caption-attachment-9542\" class=\"wp-caption-text\">Lightweight Render Pipeline \u30a2\u30bb\u30c3\u30c8\u3092\u767b\u9332<\/p><\/div>\n<p>\u00a0 \u9577\u304f\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u4ee5\u4e0a\u3067ShaderGraph\u306e\u5c0e\u5165\u306f\u5b8c\u4e86\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span id=\"i-16\">\u00a0<\/span><\/h2>\n<h2><span id=\"i-17\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u4f5c\u308b<\/span><\/h2>\n<p>\u5b9f\u969b\u306b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u00a0<\/p>\n<h3><span id=\"i-18\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u30a2\u30bb\u30c3\u30c8\u306e\u4f5c\u6210<\/span><\/h3>\n<p>Project\u30a6\u30a3\u30f3\u30c9\u30a6\u4e0a\u3067\u53f3\u30af\u30ea\u30c3\u30af\u3001Create &gt; Shader &gt; Unlit Graph \u3092\u9078\u629e\u3057\u3066\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u306e\u30a2\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 \u4eca\u56de\u306f\u8272\u3092\u51fa\u3057\u305f\u3044\u3060\u3051\u306a\u306e\u3067Unlit Graph\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><div id=\"attachment_9528\" style=\"width: 1173px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9528\" class=\"wp-image-9528 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e76faa1e5.png\" alt=\"Unlit \u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\" width=\"1163\" height=\"454\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e76faa1e5.png 1163w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e76faa1e5-300x117.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e76faa1e5-768x300.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e76faa1e5-1024x400.png 1024w\" sizes=\"auto, (max-width: 1163px) 100vw, 1163px\" \/><p id=\"caption-attachment-9528\" class=\"wp-caption-text\">Unlit \u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u4f5c\u6210<\/p><\/div><br \/>\n<div id=\"attachment_9530\" style=\"width: 225px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9530\" class=\"wp-image-9530 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e81038717.png\" alt=\"\u4f5c\u6210\u3055\u308c\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\" width=\"215\" height=\"176\" \/><p id=\"caption-attachment-9530\" class=\"wp-caption-text\">\u4f5c\u6210\u3055\u308c\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5<\/p><\/div><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-19\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u958b\u304f<\/span><\/h3>\n<p>\u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u7de8\u96c6\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u958b\u304d\u307e\u3059\u3002 Unlit Master\u30ce\u30fc\u30c9\u304c\u305f\u3060\u4e00\u3064\u7f6e\u3044\u3066\u3042\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9529\" style=\"width: 703px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9529\" class=\"wp-image-9529\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e7fa77456.png\" alt=\"\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u7de8\u96c6\u753b\u9762\" width=\"693\" height=\"519\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e7fa77456.png 1121w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e7fa77456-300x225.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e7fa77456-768x575.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43e7fa77456-1024x767.png 1024w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><p id=\"caption-attachment-9529\" class=\"wp-caption-text\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u7de8\u96c6\u753b\u9762<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-20\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u677f\u306b\u304f\u3063\u3064\u3051\u3066\u307f\u308b<\/span><\/h3>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u304b\u3089\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9543\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9543\" class=\"wp-image-9543 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fa1a7814a-1024x380.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\" width=\"900\" height=\"334\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fa1a7814a-1024x380.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fa1a7814a-300x111.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fa1a7814a-768x285.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fa1a7814a.png 1482w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9543\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210<\/p><\/div>\n<p>\u00a0 \u4f5c\u6210\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u9069\u5f53\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u304f\u3063\u3064\u3051\u307e\u3059\u3002 \u4eca\u56de\u306f Hierarchy\u306e Create -&gt; 3D Object -&gt; Plane\u3067\u4f5c\u6210\u3057\u305f\u677f\u306b\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u304f\u3063\u3064\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><div id=\"attachment_9544\" style=\"width: 792px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9544\" class=\" wp-image-9544\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fb4ab7567.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u677f\u306b\u767b\u9332\" width=\"782\" height=\"777\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fb4ab7567.png 1172w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fb4ab7567-300x298.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fb4ab7567-768x763.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fb4ab7567-1024x1018.png 1024w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><p id=\"caption-attachment-9544\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u677f\u306b\u767b\u9332<\/p><\/div><br \/>\n<div id=\"attachment_9546\" style=\"width: 411px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9546\" class=\"wp-image-9546\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fbca2390a-294x300.png\" alt=\"\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u767b\u9332\u7d50\u679c\" width=\"401\" height=\"409\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fbca2390a-294x300.png 294w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fbca2390a.png 740w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><p id=\"caption-attachment-9546\" class=\"wp-caption-text\">\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u767b\u9332\u7d50\u679c<\/p><\/div><\/p>\n<h2><span id=\"i-21\">\u00a0<\/span><\/h2>\n<h3><span id=\"i-22\">\u8272\u3092\u5909\u3048\u3066\u307f\u308b<\/span><\/h3>\n<p>Unlit Master\u30ce\u30fc\u30c9\u3092\u898b\u3066\u307f\u308b\u3068Color\u30d4\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u3000\u3053\u308c\u306f\u6700\u7d42\u7684\u306b\u51fa\u529b\u3059\u308b\u8272\u306e\u60c5\u5831\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u3053\u306eColor\u3092\u7dd1\u8272\u306b\u3057\u3066\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u5de6\u4e0a\u306b\u3042\u308bSave Asset\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u4fdd\u5b58\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"attachment_9547\" style=\"width: 761px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9547\" class=\" wp-image-9547\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd2136ba8.png\" alt=\"Unlit Master\u30ce\u30fc\u30c9\u306e\u8272\u3092\u5909\u3048\u308b\" width=\"751\" height=\"457\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd2136ba8.png 1393w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd2136ba8-300x182.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd2136ba8-768x467.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd2136ba8-1024x623.png 1024w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><p id=\"caption-attachment-9547\" class=\"wp-caption-text\">Unlit Master\u30ce\u30fc\u30c9\u306e\u8272\u3092\u5909\u3048\u308b<\/p><\/div>\n<p>\u00a0 \u677f\u306e\u8272\u3082\u7dd1\u8272\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_9548\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9548\" class=\"wp-image-9548\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd8269aee.png\" alt=\"\u8272\u306e\u5909\u66f4\u7d50\u679c\" width=\"500\" height=\"507\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd8269aee.png 741w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43fd8269aee-296x300.png 296w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-9548\" class=\"wp-caption-text\">\u8272\u306e\u5909\u66f4\u7d50\u679c<\/p><\/div>\n<h2><span id=\"i-23\">\u00a0<\/span><\/h2>\n<h2><span id=\"i-24\">\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8868\u793a\u3057\u3066\u307f\u308b<\/span><\/h2>\n<p>\u6b21\u306b\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span id=\"i-25\">\u00a0<\/span><\/h3>\n<h3><span id=\"UV\">UV\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0<\/span><\/h3>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u30a6\u30a3\u30f3\u30c9\u30a6\u3067Space\u30ad\u30fc\u3092\u5165\u529b\u3057\u3001uv\u3068\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9553\" style=\"width: 261px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9553\" class=\"wp-image-9553 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/5_create_uv_node-251x300.png\" alt=\"\" width=\"251\" height=\"300\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/5_create_uv_node-251x300.png 251w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/5_create_uv_node.png 514w\" sizes=\"auto, (max-width: 251px) 100vw, 251px\" \/><p id=\"caption-attachment-9553\" class=\"wp-caption-text\">UV\u30ce\u30fc\u30c9\u306e\u8ffd\u52a0<\/p><\/div>\n<p>\u00a0 UV\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9554\" style=\"width: 253px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9554\" class=\"wp-image-9554 size-medium\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4404cae42a2-243x300.png\" alt=\"UV\u30ce\u30fc\u30c9\" width=\"243\" height=\"300\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4404cae42a2-243x300.png 243w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4404cae42a2.png 494w\" sizes=\"auto, (max-width: 243px) 100vw, 243px\" \/><p id=\"caption-attachment-9554\" class=\"wp-caption-text\">UV\u30ce\u30fc\u30c9<\/p><\/div>\n<p>\u00a0 \u540c\u69d8\u306e\u624b\u9806\u3067Sample Texture 2D\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3001UV\u30ce\u30fc\u30c9\u3068Unlit\u30ce\u30fc\u30c9\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002 Sample Texture 2D\u30ce\u30fc\u30c9\u306b\u306f\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u767b\u9332\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9556\" style=\"width: 753px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9556\" class=\"wp-image-9556 \" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4406b3e9a8f-1024x508.png\" alt=\"\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8868\u793a\u3059\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\" width=\"743\" height=\"369\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4406b3e9a8f-1024x508.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4406b3e9a8f-300x149.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4406b3e9a8f-768x381.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4406b3e9a8f.png 1988w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><p id=\"caption-attachment-9556\" class=\"wp-caption-text\">\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8868\u793a\u3059\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5<\/p><\/div>\n<p>\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u4fdd\u5b58\u3059\u308b\u3068\u30c6\u30af\u30b9\u30c1\u30e3\u306e\u8272\u304c\u677f\u306b\u53cd\u6620\u3055\u308c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u898b\u305f\u76ee\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div>\u00a0<\/div>\n<div id=\"attachment_9557\" style=\"width: 343px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9557\" class=\" wp-image-9557\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44077e5a56b.png\" alt=\"\u677f\u306e\u898b\u305f\u76ee\" width=\"333\" height=\"297\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44077e5a56b.png 764w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44077e5a56b-300x267.png 300w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><p id=\"caption-attachment-9557\" class=\"wp-caption-text\">\u677f\u306e\u898b\u305f\u76ee<\/p><\/div>\n<h2><span id=\"i-26\">\u00a0<\/span><\/h2>\n<h2><span id=\"ShaderLab\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092ShaderLab\u3078\u79fb\u690d<\/span><\/h2>\n<p>\u6b21\u306b\u3001\u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092ShaderLab\u306b\u79fb\u690d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 ShaderLab\u306b\u79fb\u690d\u3059\u308b\u3053\u3068\u3067\u3001STYLY\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u00a0<\/p>\n<h3><span id=\"Unlit_Shader\">Unlit Shader\u306e\u4f5c\u6210<\/span><\/h3>\n<p>\u307e\u305a\u306fProject\u30a6\u30a3\u30f3\u30c9\u30a6\u3067Create &gt; Shader &gt; Unlit Shader\u3092\u9078\u629e\u3057\u3001Unlit\u30b7\u30a7\u30fc\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p id=\"ZyxNJmO\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-9551 aligncenter\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ff1c8fa5c.png\" alt=\"\" width=\"810\" height=\"292\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ff1c8fa5c.png 1148w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ff1c8fa5c-300x108.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ff1c8fa5c-768x276.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c43ff1c8fa5c-1024x368.png 1024w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u00a0 \u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u306e\u4e2d\u8eab\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">Shader \"Unlit\/NewUnlitShader\"\r\n{\r\n    Properties\r\n    {\r\n        _MainTex (\"Texture\", 2D) = \"white\" {}\r\n    }\r\n    SubShader\r\n    {\r\n        Tags { \"RenderType\"=\"Opaque\" }\r\n        LOD 100\r\n\r\n        Pass\r\n        {\r\n            CGPROGRAM\r\n            #pragma vertex vert\r\n            #pragma fragment frag\r\n            \/\/ make fog work\r\n            #pragma multi_compile_fog\r\n\r\n            #include \"UnityCG.cginc\"\r\n\r\n            struct appdata\r\n            {\r\n                float4 vertex : POSITION;\r\n                float2 uv : TEXCOORD0;\r\n            };\r\n\r\n            struct v2f\r\n            {\r\n                float2 uv : TEXCOORD0;\r\n                UNITY_FOG_COORDS(1)\r\n                float4 vertex : SV_POSITION;\r\n            };\r\n\r\n            sampler2D _MainTex;\r\n            float4 _MainTex_ST;\r\n\r\n            v2f vert (appdata v)\r\n            {\r\n                v2f o;\r\n                o.vertex = UnityObjectToClipPos(v.vertex);\r\n                o.uv = TRANSFORM_TEX(v.uv, _MainTex);\r\n                UNITY_TRANSFER_FOG(o,o.vertex);\r\n                return o;\r\n            }\r\n\r\n            fixed4 frag (v2f i) : SV_Target\r\n            {\r\n                \/\/ sample the texture\r\n                fixed4 col = tex2D(_MainTex, i.uv);\r\n                \/\/ apply fog\r\n                UNITY_APPLY_FOG(i.fogCoord, col);\r\n                return col;\r\n            }\r\n            ENDCG\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"Unlit_Shader-2\">Unlit Shader\u3067\u8272\u3092\u8a08\u7b97\u3057\u3066\u3044\u308b\u90e8\u5206<\/span><\/h3>\n<p>\u5b9f\u969b\u306b\u8272\u3092\u51fa\u3057\u3066\u3044\u308b\u90e8\u5206\u306f\u4ee5\u4e0b\u306e\u90e8\u5206\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">fixed4 frag (v2f i) : SV_Target\r\n{\r\n    \/\/ sample the texture\r\n    fixed4 col = tex2D(_MainTex, i.uv);\r\n    \/\/ apply fog\r\n    UNITY_APPLY_FOG(i.fogCoord, col);\r\n    return col;\r\n}<\/pre>\n<p>\u30c6\u30af\u30b9\u30c1\u30e3\u304b\u3089\u8272\u3092\u53d6\u308a\u51fa\u3057\u3001\u3053\u308c\u306b\u30d5\u30a9\u30b0\u3092\u304b\u3051\u3066\u6700\u7d42\u7684\u306a\u8272\u3068\u3057\u3066\u51fa\u529b\u3059\u308b\u3088\u3046\u306a\u51e6\u7406\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u00a0<\/p>\n<h3><span id=\"i-27\">\u30c6\u30af\u30b9\u30c1\u30e3\u8272\u3092\u305d\u306e\u307e\u307e\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3059\u308b<\/span><\/h3>\n<p>\u3053\u308c\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">fixed4 frag (v2f i) : SV_Target\r\n{\r\n    fixed4 col = tex2D(_MainTex, i.uv);\r\n    return col;\r\n}<\/pre>\n<p>\u30c6\u30af\u30b9\u30c1\u30e3\u304b\u3089\u8272\u3092\u53d6\u308a\u51fa\u3057\u3066\u51fa\u529b\u3059\u308b\u3088\u3046\u306a\u51e6\u7406\u306b\u306a\u3063\u3066\u304a\u308a\u3001 \u4ee5\u4e0b\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3068\u540c\u3058\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9558\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9558\" class=\"wp-image-9558 size-large\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4408609b50c-1024x493.png\" alt=\"\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8868\u793a\u3059\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\" width=\"900\" height=\"433\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4408609b50c-1024x493.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4408609b50c-300x145.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4408609b50c-768x370.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c4408609b50c.png 1600w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9558\" class=\"wp-caption-text\">\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8868\u793a\u3059\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5<\/p><\/div>\n<div>\u00a0<\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"Unlit\">Unlit\u30b7\u30a7\u30fc\u30c0\u30fc\u3068\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u306e\u5bfe\u5fdc\u95a2\u4fc2<\/span><\/h3>\n<div>i.uv\u306fUV\u5ea7\u6a19\u3092\u8868\u3057\u3066\u304a\u308a\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3067\u306f<strong>UV<\/strong>\u30ce\u30fc\u30c9\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/div>\n<div>tex2D()\u95a2\u6570\u306f\u30c6\u30af\u30b9\u30c1\u30e3\u306euv\u4f4d\u7f6e\u304b\u3089\u8272\u3092\u53d6\u308a\u51fa\u3059\u95a2\u6570\u3067\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3067\u306f<strong>Sample Texture 2D<\/strong>\u30ce\u30fc\u30c9\u304c\u76f8\u5f53\u3057\u307e\u3059\u3002<\/div>\n<div>return\u547d\u4ee4\u306f\u3001\u8272\u306e\u5024\u3092\u8fd4\u3059\u547d\u4ee4\u3067\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3067\u306f<strong>Unlit Master<\/strong>\u30ce\u30fc\u30c9\u306eColor\u30d4\u30f3\u304c\u3053\u308c\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/div>\n<div>\u00a0<\/div>\n<div>\n<div id=\"attachment_9526\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9526\" class=\" wp-image-9526\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/2_detail.png\" alt=\"\" width=\"500\" height=\"398\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/2_detail.png 1688w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/2_detail-300x239.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/2_detail-768x611.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/2_detail-1024x814.png 1024w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-9526\" class=\"wp-caption-text\">ShaderGraph\u3068ShaderLab\u306e\u5bfe\u5fdc<\/p><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h2><span id=\"2\">\u4f8b2 : \u30ce\u30a4\u30ba\u3092\u4f5c\u308b<\/span><\/h2>\n<div>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ce\u30a4\u30ba\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9559\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/20190120-144840.png\" alt=\"\" width=\"512\" height=\"512\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/20190120-144840.png 512w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/20190120-144840-300x300.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<h3><span id=\"i-28\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5<\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u7d44\u3080\u3053\u3068\u3067\u3001\u30ce\u30a4\u30ba\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_9560\" style=\"width: 1699px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9560\" class=\"wp-image-9560 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440c5302fb3.png\" alt=\"\u30ce\u30a4\u30ba\u3092\u4f5c\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\" width=\"1689\" height=\"697\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440c5302fb3.png 1689w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440c5302fb3-300x124.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440c5302fb3-768x317.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440c5302fb3-1024x423.png 1024w\" sizes=\"auto, (max-width: 1689px) 100vw, 1689px\" \/><p id=\"caption-attachment-9560\" class=\"wp-caption-text\">\u30ce\u30a4\u30ba\u3092\u4f5c\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"ShaderLab-2\">\u30ce\u30fc\u30c9\u3092\u90e8\u5206\u7684\u306bShaderLab\u3078\u79fb\u690d\u3059\u308b<\/span><\/h3>\n<div>\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u306e\u30ce\u30fc\u30c9\u306f\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3067\u5b9f\u88c5\u3055\u308c\u3066\u304a\u308a\u3001<\/div>\n<div>\u305d\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3059\u308b\u3053\u3068\u3067\u5168\u304f\u540c\u3058\u3082\u306e\u3092ShaderLab\u5074\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<div>\u00a0<\/div>\n<div>\u30ce\u30fc\u30c9\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066Open Document\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<div>\n<p id=\"npxcbYx\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-9561 aligncenter\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440dbd1e049.png\" alt=\"\" width=\"494\" height=\"614\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440dbd1e049.png 666w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c440dbd1e049-241x300.png 241w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><\/p>\n<\/div>\n<p>\u00a0 Simple Noise\u30ce\u30fc\u30c9\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u958b\u3044\u305f\u5834\u5408\u306fWeb\u30d6\u30e9\u30a6\u30b6\u3067\u4ee5\u4e0b\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u958b\u304d\u307e\u3059\u3002 <a href=\"https:\/\/github.com\/Unity-Technologies\/ShaderGraph\/wiki\/Simple-Noise-Node\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/Unity-Technologies\/ShaderGraph\/wiki\/Simple-Noise-Node<\/a> \u00a0 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u4ee5\u4e0b\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002 \u4e0b\u8a18\u30b3\u30fc\u30c9\u306fSimpleNoise\u306e\u4e2d\u8eab\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"\"><code>inline float unity_noise_randomValue (float2 uv)\r\n{\r\n    return frac(sin(dot(uv, float2(12.9898, 78.233)))*43758.5453);\r\n}\r\n\r\ninline float unity_noise_interpolate (float a, float b, float t)\r\n{\r\n    return (1.0-t)*a + (t*b);\r\n}\r\n\r\ninline float unity_valueNoise (float2 uv)\r\n{\r\n    float2 i = floor(uv);\r\n    float2 f = frac(uv);\r\n    f = f * f * (3.0 - 2.0 * f);\r\n\r\n    uv = abs(frac(uv) - 0.5);\r\n    float2 c0 = i + float2(0.0, 0.0);\r\n    float2 c1 = i + float2(1.0, 0.0);\r\n    float2 c2 = i + float2(0.0, 1.0);\r\n    float2 c3 = i + float2(1.0, 1.0);\r\n    float r0 = unity_noise_randomValue(c0);\r\n    float r1 = unity_noise_randomValue(c1);\r\n    float r2 = unity_noise_randomValue(c2);\r\n    float r3 = unity_noise_randomValue(c3);\r\n\r\n    float bottomOfGrid = unity_noise_interpolate(r0, r1, f.x);\r\n    float topOfGrid = unity_noise_interpolate(r2, r3, f.x);\r\n    float t = unity_noise_interpolate(bottomOfGrid, topOfGrid, f.y);\r\n    return t;\r\n}\r\n\r\nfloat t = 0.0;\r\nfor(int i = 0; i &lt; 3; i++)\r\n{\r\n    float freq = pow(2.0, float(i));\r\n    float amp = pow(0.5, float(3-i));\r\n    t += unity_valueNoise(float2(UV.x*Scale\/freq, UV.y*Scale\/freq))*amp;\r\n}\r\nOut = t;<\/code><\/pre>\n<div>\u00a0<\/div>\n<h3><span id=\"SimpleNoise\">SimpleNoise\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3059\u308b<\/span><\/h3>\n<div>\u4e0a\u8a18\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3092.shader\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u30da\u30fc\u30b9\u30c8\u3059\u308b\u3053\u3068\u3067<\/div>\n<div>.shader\u5185\u3067\u3082\u30ce\u30a4\u30ba\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u306e\u5f62\u3067\u306f\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/div>\n<div>\u00a0<\/div>\n<div>\u305d\u3053\u3067\u3001\u4f7f\u3048\u308b\u5f62\u306b\u3059\u308b\u305f\u3081\u306b\u6700\u5f8c\u306e8\u884c\u3092\u95a2\u6570\u5316\u3001\u672a\u5b9a\u7fa9\u306e\u6570(UV\u3068Scale)\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/div>\n<div>\n<pre class=\"lang:default decode:true\">#define Scale 500\r\nfloat unity_simpleNoise_float(float2 UV)\r\n{\r\n    float t = 0.0;\r\n    for(int i = 0; i &lt; 3; i++)\r\n    {\r\n        float freq = pow(2.0, float(i));\r\n        float amp = pow(0.5, float(3-i));\r\n        t += unity_valueNoise(float2(UV.x*Scale\/freq, UV.y*Scale\/freq))*amp;\r\n    }\r\n    return t;\r\n}\r\n<\/pre>\n<p>\u00a0 \u305d\u3057\u3066ShaderLab\u306efrag\u95a2\u6570\u304b\u3089\u3053\u306e\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3066\u30ce\u30a4\u30ba\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u5b8c\u6210\u3067\u3059\u3002<\/p><\/div>\n<div>\n<pre class=\"lang:default decode:true\">fixed4 frag (v2f i) : SV_Target\r\n{\r\n    fixed4 col = unity_simpleNoise_float(i.uv);\r\n    return col;\r\n}<\/pre>\n<p>\u00a0<\/p><\/div>\n<h3><span id=\"i-29\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u5168\u4f53<\/span><\/h3>\n<div>\u4ee5\u4e0b\u306f\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u5168\u4f53\u3068\u306a\u308a\u307e\u3059\u3002<\/div>\n<div>\n<pre class=\"lang:default decode:true \">Shader \"Unlit\/NewUnlitShader\"\r\n{\r\n    Properties\r\n    {\r\n        _MainTex (\"Texture\", 2D) = \"white\" {}\r\n    }\r\n    SubShader\r\n    {\r\n        Tags { \"RenderType\"=\"Opaque\" }\r\n        LOD 100\r\n\r\n        Pass\r\n        {\r\n            CGPROGRAM\r\n            #pragma vertex vert\r\n            #pragma fragment frag\r\n            \/\/ make fog work\r\n            #pragma multi_compile_fog\r\n\r\n            #include \"UnityCG.cginc\"\r\n\r\n            struct appdata\r\n            {\r\n                float4 vertex : POSITION;\r\n                float2 uv : TEXCOORD0;\r\n            };\r\n\r\n            struct v2f\r\n            {\r\n                float2 uv : TEXCOORD0;\r\n                UNITY_FOG_COORDS(1)\r\n                float4 vertex : SV_POSITION;\r\n            };\r\n\r\n            sampler2D _MainTex;\r\n            float4 _MainTex_ST;\r\n\r\n            v2f vert (appdata v)\r\n            {\r\n                v2f o;\r\n                o.vertex = UnityObjectToClipPos(v.vertex);\r\n                o.uv = TRANSFORM_TEX(v.uv, _MainTex);\r\n                UNITY_TRANSFER_FOG(o,o.vertex);\r\n                return o;\r\n            }\r\n\r\n            \/\/\/ \u3053\u3053\u304b\u3089 SimpleNoise \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n            inline float unity_noise_randomValue (float2 uv)\r\n            {\r\n                return frac(sin(dot(uv, float2(12.9898, 78.233)))*43758.5453);\r\n            }\r\n\r\n            inline float unity_noise_interpolate (float a, float b, float t)\r\n            {\r\n                return (1.0-t)*a + (t*b);\r\n            }\r\n\r\n            inline float unity_valueNoise (float2 uv)\r\n            {\r\n                float2 i = floor(uv);\r\n                float2 f = frac(uv);\r\n                f = f * f * (3.0 - 2.0 * f);\r\n\r\n                uv = abs(frac(uv) - 0.5);\r\n                float2 c0 = i + float2(0.0, 0.0);\r\n                float2 c1 = i + float2(1.0, 0.0);\r\n                float2 c2 = i + float2(0.0, 1.0);\r\n                float2 c3 = i + float2(1.0, 1.0);\r\n                float r0 = unity_noise_randomValue(c0);\r\n                float r1 = unity_noise_randomValue(c1);\r\n                float r2 = unity_noise_randomValue(c2);\r\n                float r3 = unity_noise_randomValue(c3);\r\n\r\n                float bottomOfGrid = unity_noise_interpolate(r0, r1, f.x);\r\n                float topOfGrid = unity_noise_interpolate(r2, r3, f.x);\r\n                float t = unity_noise_interpolate(bottomOfGrid, topOfGrid, f.y);\r\n                return t;\r\n            }\r\n\r\n            #define Scale 500\r\n            float unity_simpleNoise_float(float2 UV)\r\n            {\r\n                float t = 0.0;\r\n                for(int i = 0; i &lt; 3; i++)\r\n                {\r\n                    float freq = pow(2.0, float(i));\r\n                    float amp = pow(0.5, float(3-i));\r\n                    t += unity_valueNoise(float2(UV.x*Scale\/freq, UV.y*Scale\/freq))*amp;\r\n                }\r\n                return t;\r\n            }\r\n            \/\/\/ \u3053\u3053\u307e\u3067 SimpleNoise \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\r\n            fixed4 frag (v2f i) : SV_Target\r\n            {\r\n                fixed4 col = unity_simpleNoise_float(i.uv);\r\n                return col;\r\n            }\r\n            ENDCG\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<h2><span id=\"3\">\u4f8b3 : \u6d41\u308c\u308b\u30b7\u30de\u30b7\u30de\u6a21\u69d8\u3092\u4f5c\u308b<\/span><\/h2>\n<p><div id=\"attachment_9565\" style=\"width: 642px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9565\" class=\"wp-image-9565 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/4_stripe.gif\" alt=\"\u6d41\u308c\u308b\u30b7\u30de\u30b7\u30de\u6a21\u69d8\" width=\"632\" height=\"562\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/4_stripe.gif 632w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/4_stripe-300x267.gif 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><p id=\"caption-attachment-9565\" class=\"wp-caption-text\">\u6d41\u308c\u308b\u30b7\u30de\u30b7\u30de\u6a21\u69d8<\/p><\/div><br \/>\n\u00a0 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u7d44\u3080\u3068\u6d41\u308c\u308b\u30b7\u30de\u30b7\u30de\u6a21\u69d8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p id=\"XitYIhZ\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-9564 aligncenter\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441493cac8e.png\" alt=\"\" width=\"899\" height=\"350\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441493cac8e.png 2025w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441493cac8e-300x117.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441493cac8e-768x299.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441493cac8e-1024x398.png 1024w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<h3><span id=\"i-30\">\u00a0<\/span><\/h3>\n<h2><span id=\"ShaderLab-3\">\u30b7\u30de\u30b7\u30de\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092ShaderLab\u306b\u79fb\u690d\u3059\u308b<\/span><\/h2>\n<p>\u3053\u306e\u30b7\u30de\u30b7\u30de\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092ShaderLab\u3078\u79fb\u690d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3><span id=\"ShaderLab-4\">\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u304c\u751f\u6210\u3059\u308bShaderLab\u30b3\u30fc\u30c9\u3092\u8868\u793a<\/span><\/h3>\n<div>\u307e\u305a\u3001Unlit\u30de\u30b9\u30bf\u30fc\u30ce\u30fc\u30c9\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001Show Generated Code\u3092\u9078\u629e\u3057\u307e\u3059\u3002 Show Generated Code\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\u3092\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3068\u3057\u3066\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p id=\"eNULPme\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-9568 aligncenter\" src=\"http:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441701ccc3d.png\" alt=\"\" width=\"676\" height=\"457\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441701ccc3d.png 1010w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441701ccc3d-300x203.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c441701ccc3d-768x519.png 768w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/p>\n<p>\u00a0 \u5b9f\u969b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p id=\"nwsHtfN\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9569 \" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44176629897-1024x804.png\" alt=\"\" width=\"690\" height=\"542\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44176629897-1024x804.png 1024w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44176629897-300x236.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44176629897-768x603.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c44176629897.png 1606w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<\/div>\n<p>\u00a0 \u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u306fUnity2018\u4ee5\u964d\u3067\u63d0\u4f9b\u3055\u308c\u308bScriptable Render Pipeline\u3068\u3044\u3046\u4ed5\u7d44\u307f\u306e\u4e0a\u3067\u52d5\u3044\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<div>\u305d\u306e\u305f\u3081\u3001\u6b8b\u5ff5\u306a\u304c\u3089Unity2017\u4e0a\u3067\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u305aSTYLY\u3078\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3082\u3067\u304d\u307e\u305b\u3093\u3002<\/div>\n<p>\u00a0 \u4eca\u56de\u306f\u3053\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u3092<strong>Unity2017.4.0f1\u4e0a\u3067\u52d5\u304f\u3088\u3046\u306b\u79fb\u690d\u3057\u3001<\/strong>STYLY\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u53ef\u80fd\u306a\u72b6\u614b\u306b\u3059\u308b\u624b\u9806\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 \u00a0<\/p>\n<h3><span id=\"frag\">\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u5185\u306efrag\u95a2\u6570\u306b\u76f8\u5f53\u3059\u308b\u90e8\u5206\u3092\u63a2\u3059<\/span><\/h3>\n<div>Show Generated Code\u3067\u751f\u6210\u3055\u308c\u305f\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u306e\u4e2d\u8eab\u3092\u8aad\u3093\u3067\u3044\u304f\u3068<strong>PopulateSurfaceData<\/strong>\u95a2\u6570\u304c\u898b\u3064\u304b\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">SurfaceDescription PopulateSurfaceData(SurfaceDescriptionInputs IN)\r\n{\r\n    SurfaceDescription surface = (SurfaceDescription)0;\r\n    float4 _UV_5352AF33_Out = IN.uv0;\r\n    float _Split_ADBF75FC_R = _UV_5352AF33_Out[0];\r\n    float _Split_ADBF75FC_G = _UV_5352AF33_Out[1];\r\n    float _Split_ADBF75FC_B = _UV_5352AF33_Out[2];\r\n    float _Split_ADBF75FC_A = _UV_5352AF33_Out[3];\r\n    float _Multiply_318DDBE1_Out;\r\n    Unity_Multiply_float(_Split_ADBF75FC_R, 3, _Multiply_318DDBE1_Out);\r\n\r\n    float _Add_45F8AE1E_Out;\r\n    Unity_Add_float(_Multiply_318DDBE1_Out, _Time.y, _Add_45F8AE1E_Out);\r\n    float _Fraction_BBF94AC3_Out;\r\n    Unity_Fraction_float(_Add_45F8AE1E_Out, _Fraction_BBF94AC3_Out);\r\n    float _Step_AA2EEF1D_Out;\r\n    Unity_Step_float(_Fraction_BBF94AC3_Out, 0.5, _Step_AA2EEF1D_Out);\r\n    surface.Color = (_Step_AA2EEF1D_Out.xxx);\r\n    surface.Alpha = 1;\r\n    surface.AlphaClipThreshold = 0;\r\n    return surface;\r\n}<\/pre>\n<p>\u00a0 \u3053\u306ePopulateSurfaceData\u95a2\u6570\u306e\u4e2d\u8eab\u3092frag\u95a2\u6570\u306e\u4e2d\u306b\u5f35\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">fixed4 frag (v2f i) : SV_Target\r\n{\r\n    SurfaceDescription surface = (SurfaceDescription)0;\r\n    float4 _UV_5352AF33_Out = IN.uv0;\r\n    float _Split_ADBF75FC_R = _UV_5352AF33_Out[0];\r\n    float _Split_ADBF75FC_G = _UV_5352AF33_Out[1];\r\n    float _Split_ADBF75FC_B = _UV_5352AF33_Out[2];\r\n    float _Split_ADBF75FC_A = _UV_5352AF33_Out[3];\r\n    float _Multiply_318DDBE1_Out;\r\n    Unity_Multiply_float(_Split_ADBF75FC_R, 3, _Multiply_318DDBE1_Out);\r\n\r\n    float _Add_45F8AE1E_Out;\r\n    Unity_Add_float(_Multiply_318DDBE1_Out, _Time.y, _Add_45F8AE1E_Out);\r\n    float _Fraction_BBF94AC3_Out;\r\n    Unity_Fraction_float(_Add_45F8AE1E_Out, _Fraction_BBF94AC3_Out);\r\n    float _Step_AA2EEF1D_Out;\r\n    Unity_Step_float(_Fraction_BBF94AC3_Out, 0.5, _Step_AA2EEF1D_Out);\r\n    surface.Color = (_Step_AA2EEF1D_Out.xxx);\r\n    surface.Alpha = 1;\r\n    surface.AlphaClipThreshold = 0;\r\n    return surface;\r\n}<\/pre>\n<\/div>\n<div>\n<h3><span id=\"i-31\">\u00a0<\/span><\/h3>\n<h3><span id=\"Unity_Add\">Unity_Add_*** \u7cfb\u306e\u95a2\u6570\u3092\u30b3\u30d4\u30da<\/span><\/h3>\n<p>\u751f\u6210\u30b3\u30fc\u30c9\u4e2d\u3067\u4ee5\u4e0b\u306e\uff14\u3064\u306e\u95a2\u6570\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3082\u30b3\u30d4\u30da\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n<div>\n<pre class=\"lang:default decode:true\">void Unity_Multiply_float (float A, float B, out float Out)\r\n{\r\n    Out = A * B;\r\n}\r\nvoid Unity_Add_float(float A, float B, out float Out)\r\n{\r\n    Out = A + B;\r\n}\r\nvoid Unity_Fraction_float(float In, out float Out)\r\n{\r\n    Out = frac(In);\r\n}\r\nvoid Unity_Step_float(float Edge, float In, out float Out)\r\n{\r\n    Out = step(Edge, In);\r\n}<\/pre>\n<p>\u00a0<\/p><\/div>\n<\/div>\n<h3><span id=\"SurfaceDescription\">SurfaceDescription\u306e\u524a\u9664<\/span><\/h3>\n<div>\n<div>\n<div>SurfaceDescription surface = (SurfaceDescription)0; \u306e\u90e8\u5206\u306f\u524a\u9664\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n<\/div>\n<div>\u00a0<\/div>\n<h3><span id=\"i-32\">\u5f15\u6570\u540d\u306e\u4fee\u6b63<\/span><\/h3>\n<p>frag\u95a2\u6570\u306e\u5f15\u6570\u306e\u5909\u6570\u540d\u304ci\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3092IN\u3078\u5909\u66f4\u3057\u307e\u3059\u3002 \u5909\u66f4\u524d<\/p>\n<pre class=\"lang:default decode:true\">fixed4 frag (v2f i) : SV_Target<\/pre>\n<p>\u5909\u66f4\u5f8c<\/p>\n<pre class=\"lang:default decode:true \">fixed4 frag (v2f IN): SV_Target<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"uv\">uv\u306e\u53c2\u7167\u540d\u306e\u4fee\u6b63<\/span><\/h3>\n<p>v2f\u306e\u4e2d\u3067\u306fuv\u3068\u3044\u3046\u540d\u524d\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u884c\u306euv0\u3092uv\u306b\u4fee\u6b63\u3057\u307e\u3059\u3002 \u4fee\u6b63\u524d<\/p>\n<pre class=\"lang:default decode:true\">float4 _UV_5352AF33_Out = IN.uv0;\r\n<\/pre>\n<p>\u4fee\u6b63\u5f8c<\/p>\n<pre class=\"lang:default decode:true\">float4 _UV_5352AF33_Out = IN.uv;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h3><span id=\"uv-2\">uv\u306e\u5909\u6570\u578b\u306e\u4fee\u6b63<\/span><\/h3>\n<p>IN\u306euv\u306ffloat2\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u5de6\u8fba\u306e\u5909\u6570\u578b\u3082float4\u304b\u3089float2\u3078\u5909\u66f4\u3057\u307e\u3059\u3002 \u4fee\u6b63\u524d<\/p>\n<pre class=\"lang:default decode:true\">float4 _UV_5352AF33_Out = IN.uv;\r\n<\/pre>\n<p>\u4fee\u6b63\u5f8c<\/p>\n<pre class=\"lang:default decode:true\">float2 _UV_5352AF33_Out = IN.uv;\r\n<\/pre>\n<h3><span id=\"i-33\">\u00a0<\/span><\/h3>\n<h3><span id=\"uv-3\">uv\u8981\u7d20\u53c2\u7167\u306e\u4fee\u6b63<\/span><\/h3>\n<p>float2\u3084float4\u306e\u5404\u8981\u7d20\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u6587\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/p>\n<pre class=\"lang:default decode:true \">float4 value = float4(1.0);\r\nfloat x = value[0]; \/\/ x = value.x\u3068\u304a\u306a\u3058\r\nfloat y = value[1]; \/\/ y = value.y\u3068\u304a\u306a\u3058\r\nfloat z = value[2]; \/\/ z = value.z\u3068\u304a\u306a\u3058\r\nfloat w = value[3]; \/\/ w = value.w\u3068\u304a\u306a\u3058<\/pre>\n<p>\u00a0 \u4eca\u56de\u3001uv\u5024\u306ffloat2\u306e\u305f\u3081z\u6210\u5206\u3068w\u6210\u5206\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 \u306a\u306e\u3067\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<div>\n<div>\n<pre class=\"lang:default decode:true\">float _Split_ADBF75FC_B = _UV_5352AF33_Out[2];\r\nfloat _Split_ADBF75FC_A = _UV_5352AF33_Out[3];\r\n<\/pre>\n<p>\u00a0<\/p><\/div>\n<\/div>\n<h3><span id=\"return\">return\u306e\u4fee\u6b63<\/span><\/h3>\n<p>surface\u30c7\u30fc\u30bf\u306b\u8272\u3084\u30a2\u30eb\u30d5\u30a1\u5024\u3092\u683c\u7d0d\u3057\u3066return\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u8272\u60c5\u5831(fixed4)\u3092\u8fd4\u3059\u305f\u3081\u3001 \u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<div>\n<pre class=\"lang:default decode:true\">surface.Color = (_Step_AA2EEF1D_Out.xxx);\r\nsurface.Alpha = 1;\r\nsurface.AlphaClipThreshold = 0;\r\nreturn surface;\r\n<\/pre>\n<\/div>\n<div>\u00a0<\/div>\n<div>\u4ee3\u308f\u308a\u306b\u3001surface.Color\u306b\u4ee3\u5165\u3057\u3066\u3044\u308b\u5024\u3092\u8fd4\u3059\u3088\u3046\u306b\u3057\u3066\u3084\u308a\u307e\u3059\u3002<\/div>\n<div>\n<div>\n<div>\n<pre class=\"lang:default decode:true \">return _Step_AA2EEF1D_Out;<\/pre>\n<\/div>\n<\/div>\n<h3><span id=\"i-34\">\u00a0<\/span><\/h3>\n<h3><span id=\"frag-2\">frag\u95a2\u6570\u306e\u4fee\u6b63\u7d50\u679c<\/span><\/h3>\n<p>\u6700\u7d42\u7684\u306b\u306ffrag\u95a2\u6570\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">fixed4 frag (v2f IN) : SV_Target\r\n{\r\n    float2 _UV_5352AF33_Out = IN.uv;\r\n    float _Split_ADBF75FC_R = _UV_5352AF33_Out[0];\r\n    float _Split_ADBF75FC_G = _UV_5352AF33_Out[1];\r\n\r\n    float _Multiply_318DDBE1_Out;\r\n    Unity_Multiply_float(_Split_ADBF75FC_R, 3, _Multiply_318DDBE1_Out\r\n    float _Add_45F8AE1E_Out;\r\n    Unity_Add_float(_Multiply_318DDBE1_Out, _Time.y, _Add_45F8AE1E_Out);\r\n    float _Fraction_BBF94AC3_Out;\r\n    Unity_Fraction_float(_Add_45F8AE1E_Out, _Fraction_BBF94AC3_Out);\r\n    float _Step_AA2EEF1D_Out;\r\n    Unity_Step_float(_Fraction_BBF94AC3_Out, 0.5, _Step_AA2EEF1D_Out\r\n\r\n    return _Step_AA2EEF1D_Out;\r\n}<\/pre>\n<\/div>\n<h3><span id=\"i-35\">\u00a0<\/span><\/h3>\n<h3><span id=\"Shader\">Shader\u30b3\u30fc\u30c9\u5168\u4f53<\/span><\/h3>\n<p>\u79fb\u690d\u3057\u305f\u5f8c\u306e\u30b7\u30a7\u30fc\u30c0\u30fc\u30b3\u30fc\u30c9\u5168\u4f53\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">Shader \"Unlit\/NewUnlitShader\"\r\n{\r\n\tProperties\r\n\t{\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\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\r\n            void Unity_Multiply_float (float A, float B, out float Out)\r\n            {\r\n                Out = A * B;\r\n            }\r\n\r\n            void Unity_Add_float(float A, float B, out float Out)\r\n            {\r\n                Out = A + B;\r\n            }\r\n\r\n            void Unity_Fraction_float(float In, out float Out)\r\n            {\r\n                Out = frac(In);\r\n            }\r\n\r\n            void Unity_Step_float(float Edge, float In, out float Out)\r\n            {\r\n                Out = step(Edge, In);\r\n            }\r\n\t\t\t\r\n\t\t\tfixed4 frag (v2f IN) : SV_Target\r\n\t\t\t{\r\n\t\t\t\tfloat2 _UV_5352AF33_Out = IN.uv;\r\n\t\t\t\tfloat _Split_ADBF75FC_R = _UV_5352AF33_Out[0];\r\n\t\t\t\tfloat _Split_ADBF75FC_G = _UV_5352AF33_Out[1];\r\n\r\n\t\t\t\tfloat _Multiply_318DDBE1_Out;\r\n\t\t\t\tUnity_Multiply_float(_Split_ADBF75FC_R, 3, _Multiply_318DDBE1_Out);\r\n\t\t\t\tfloat _Add_45F8AE1E_Out;\r\n\t\t\t\tUnity_Add_float(_Multiply_318DDBE1_Out, _Time.y, _Add_45F8AE1E_Out);\r\n\t\t\t\tfloat _Fraction_BBF94AC3_Out;\r\n\t\t\t\tUnity_Fraction_float(_Add_45F8AE1E_Out, _Fraction_BBF94AC3_Out);\r\n\t\t\t\tfloat _Step_AA2EEF1D_Out;\r\n\t\t\t\tUnity_Step_float(_Fraction_BBF94AC3_Out, 0.5, _Step_AA2EEF1D_Out);\r\n\r\n\t\t\t\treturn _Step_AA2EEF1D_Out;\r\n\t\t\t}\r\n\t\t\tENDCG\r\n\t\t}\r\n\t}\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h2><span id=\"4\">\u4f8b4 : \u30ce\u30a4\u30ba\u8868\u73fe<\/span><\/h2>\n<p><div id=\"attachment_9580\" style=\"width: 518px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9580\" class=\"wp-image-9580 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/5_two_noise-1.gif\" alt=\"\u7e26\u306e\u30ce\u30a4\u30ba\u3068\u6a2a\u306e\u30ce\u30a4\u30ba\u3092\u4ea4\u4e92\u306b\u8868\u793a\" width=\"508\" height=\"512\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/5_two_noise-1.gif 508w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/5_two_noise-1-298x300.gif 298w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><p id=\"caption-attachment-9580\" class=\"wp-caption-text\">\u7e26\u306e\u30ce\u30a4\u30ba\u3068\u6a2a\u306e\u30ce\u30a4\u30ba\u3092\u4ea4\u4e92\u306b\u8868\u793a<\/p><\/div><br \/>\n<div id=\"attachment_9581\" style=\"width: 1729px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9581\" class=\"wp-image-9581 size-full\" src=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c442eba6762b.png\" alt=\"\u7e26\u306e\u30ce\u30a4\u30ba\u3068\u6a2a\u306e\u30ce\u30a4\u30ba\u3092\u4ea4\u4e92\u306b\u8868\u793a\u3059\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5\" width=\"1719\" height=\"1168\" srcset=\"https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c442eba6762b.png 1719w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c442eba6762b-300x204.png 300w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c442eba6762b-768x522.png 768w, https:\/\/styly.cc\/wp-content\/uploads\/2019\/01\/img_5c442eba6762b-1024x696.png 1024w\" sizes=\"auto, (max-width: 1719px) 100vw, 1719px\" \/><p id=\"caption-attachment-9581\" class=\"wp-caption-text\">\u7e26\u306e\u30ce\u30a4\u30ba\u3068\u6a2a\u306e\u30ce\u30a4\u30ba\u3092\u4ea4\u4e92\u306b\u8868\u793a\u3059\u308b\u30b7\u30a7\u30fc\u30c0\u30fc\u30b0\u30e9\u30d5<\/p><\/div><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"ShaderLab-5\">ShaderLab\u3078\u79fb\u690d<\/span><\/h3>\n<p>\u4e0a\u8a18\u306e\u30ce\u30a4\u30ba\u30b7\u30a7\u30fc\u30c0\u30fc\u3092\u79fb\u690d\u3057\u305f\u3082\u306e\u304c\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">Shader \"Unlit\/TwoNoiseShader\"\r\n{\r\n    Properties\r\n    {\r\n\t\t_MainTex (\"Texture\", 2D) = \"white\" {}\r\n        Vector1_A6C402D7(\"TimePower\", Float) = 8\r\n\t\tVector1_E7DE3A15(\"Speed\", Float) = 1.2\r\n\t\tVector1_CFAA147C(\"NoiseScale\", Float) = 500\r\n    }\r\n\tSubShader\r\n\t{\r\n\t\tTags { \"RenderType\"=\"Opaque\" }\r\n\t\tLOD 100\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            float Vector1_A6C402D7;\r\n            float Vector1_E7DE3A15;\r\n            float Vector1_CFAA147C;\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\r\n\t\t\t\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\t\t\tinline float unity_noise_randomValue (float2 uv)\r\n\t\t\t{\r\n\t\t\t\treturn frac(sin(dot(uv, float2(12.9898, 78.233)))*43758.5453);\r\n\t\t\t}\r\n\r\n\t\t\tinline float unity_noise_interpolate (float a, float b, float t)\r\n\t\t\t{\r\n\t\t\t\treturn (1.0-t)*a + (t*b);\r\n\t\t\t}\r\n\t\t\tinline float unity_valueNoise (float2 uv)\r\n\t\t\t{\r\n\t\t\t\tfloat2 i = floor(uv);\r\n\t\t\t\tfloat2 f = frac(uv);\r\n\t\t\t\tf = f * f * (3.0 - 2.0 * f);\r\n\r\n\t\t\t\tuv = abs(frac(uv) - 0.5);\r\n\t\t\t\tfloat2 c0 = i + float2(0.0, 0.0);\r\n\t\t\t\tfloat2 c1 = i + float2(1.0, 0.0);\r\n\t\t\t\tfloat2 c2 = i + float2(0.0, 1.0);\r\n\t\t\t\tfloat2 c3 = i + float2(1.0, 1.0);\r\n\t\t\t\tfloat r0 = unity_noise_randomValue(c0);\r\n\t\t\t\tfloat r1 = unity_noise_randomValue(c1);\r\n\t\t\t\tfloat r2 = unity_noise_randomValue(c2);\r\n\t\t\t\tfloat r3 = unity_noise_randomValue(c3);\r\n\r\n\t\t\t\tfloat bottomOfGrid = unity_noise_interpolate(r0, r1, f.x);\r\n\t\t\t\tfloat topOfGrid = unity_noise_interpolate(r2, r3, f.x);\r\n\t\t\t\tfloat t = unity_noise_interpolate(bottomOfGrid, topOfGrid, f.y);\r\n\t\t\t\treturn t;\r\n\t\t\t}\r\n\r\n            void Unity_SimpleNoise_float(float2 UV, float Scale, out float Out)\r\n            {\r\n                float t = 0.0;\r\n\r\n                float freq = pow(2.0, float(0));\r\n                float amp = pow(0.5, float(3-0));\r\n                t += unity_valueNoise(float2(UV.x*Scale\/freq, UV.y*Scale\/freq))*amp;\r\n\r\n                freq = pow(2.0, float(1));\r\n                amp = pow(0.5, float(3-1));\r\n                t += unity_valueNoise(float2(UV.x*Scale\/freq, UV.y*Scale\/freq))*amp;\r\n\r\n                freq = pow(2.0, float(2));\r\n                amp = pow(0.5, float(3-2));\r\n                t += unity_valueNoise(float2(UV.x*Scale\/freq, UV.y*Scale\/freq))*amp;\r\n\r\n                Out = t;\r\n            }\r\n\r\n            void Unity_Multiply_float (float A, float B, out float Out)\r\n            {\r\n                Out = A * B;\r\n            }\r\n\r\n            void Unity_Add_float(float A, float B, out float Out)\r\n            {\r\n                Out = A + B;\r\n            }\r\n\r\n            void Unity_Fraction_float(float In, out float Out)\r\n            {\r\n                Out = frac(In);\r\n            }\r\n\r\n            void Unity_OneMinus_float(float In, out float Out)\r\n            {\r\n                Out = 1 - In;\r\n            }\r\n\r\n            void Unity_Power_float(float A, float B, out float Out)\r\n            {\r\n                Out = pow(A, B);\r\n            }\r\n\r\n            void Unity_Step_float(float Edge, float In, out float Out)\r\n            {\r\n                Out = step(Edge, In);\r\n            }\r\n\r\n            void Unity_Maximum_float(float A, float B, out float Out)\r\n            {\r\n                Out = max(A, B);\r\n            }\r\n\t\t\t\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\t\t\t\r\n\t\t\tfixed4 frag (v2f IN) : SV_Target\r\n\t\t\t{\r\n                float2 _UV_41543244_Out = IN.uv;\r\n                float _Split_791929F1_R = _UV_41543244_Out[0];\r\n                float _Split_791929F1_G = _UV_41543244_Out[1];\r\n                \/\/ float _Split_791929F1_B = _UV_41543244_Out[2];\r\n                \/\/ float _Split_791929F1_A = _UV_41543244_Out[3];\r\n                float _Property_A34CC187_Out = Vector1_CFAA147C;\r\n                float _SimpleNoise_7780AF9D_Out;\r\n                Unity_SimpleNoise_float((_Split_791929F1_G.xx), _Property_A34CC187_Out, _SimpleNoise_7780AF9D_Out);\r\n                float _Property_BB3AE4B0_Out = Vector1_E7DE3A15;\r\n                float _Multiply_C7983931_Out;\r\n                Unity_Multiply_float(_Property_BB3AE4B0_Out, _Time.y, _Multiply_C7983931_Out);\r\n\r\n                float _Add_F4937AD1_Out;\r\n                Unity_Add_float(_Multiply_C7983931_Out, 0.5, _Add_F4937AD1_Out);\r\n                float _Fraction_DC83F623_Out;\r\n                Unity_Fraction_float(_Add_F4937AD1_Out, _Fraction_DC83F623_Out);\r\n                float _OneMinus_3CCE1B16_Out;\r\n                Unity_OneMinus_float(_Fraction_DC83F623_Out, _OneMinus_3CCE1B16_Out);\r\n                float _Property_652E266A_Out = Vector1_A6C402D7;\r\n                float _Power_B837429A_Out;\r\n                Unity_Power_float(_OneMinus_3CCE1B16_Out, _Property_652E266A_Out, _Power_B837429A_Out);\r\n                float _Step_52333ACB_Out;\r\n                Unity_Step_float(_SimpleNoise_7780AF9D_Out, _Power_B837429A_Out, _Step_52333ACB_Out);\r\n                float2 _UV_DAF98106_Out = IN.uv;\r\n                float _Split_22E8C67A_R = _UV_DAF98106_Out[0];\r\n                float _Split_22E8C67A_G = _UV_DAF98106_Out[1];\r\n                float _Property_9D173142_Out = Vector1_CFAA147C;\r\n                float _SimpleNoise_BFF5A899_Out;\r\n                Unity_SimpleNoise_float((_Split_22E8C67A_R.xx), _Property_9D173142_Out, _SimpleNoise_BFF5A899_Out);\r\n                float _Fraction_8C0CEF59_Out;\r\n                Unity_Fraction_float(_Multiply_C7983931_Out, _Fraction_8C0CEF59_Out);\r\n                float _OneMinus_AEBC704A_Out;\r\n                Unity_OneMinus_float(_Fraction_8C0CEF59_Out, _OneMinus_AEBC704A_Out);\r\n                float _Property_78DB6EAB_Out = Vector1_A6C402D7;\r\n                float _Power_8970AF46_Out;\r\n                Unity_Power_float(_OneMinus_AEBC704A_Out, _Property_78DB6EAB_Out, _Power_8970AF46_Out);\r\n                float _Step_83B2C153_Out;\r\n                Unity_Step_float(_SimpleNoise_BFF5A899_Out, _Power_8970AF46_Out, _Step_83B2C153_Out);\r\n                float _Maximum_A494F6AC_Out;\r\n                Unity_Maximum_float(_Step_52333ACB_Out, _Step_83B2C153_Out, _Maximum_A494F6AC_Out);\r\n\r\n\t\t\t\treturn _Maximum_A494F6AC_Out;\r\n            }\r\n\t\t\tENDCG\r\n\t\t}\r\n\t}\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\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\u30a2\u30bb\u30c3\u30c8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18URL\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> \u00a0<\/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\/9525\" class=\"qtranxs-available-language-link qtranxs-available-language-link-en\" title=\"EN\">EN<\/a>\u3000\u306e\u307f\u3067\u3059\u3002<\/p>\n","protected":false},"author":22,"featured_media":9558,"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":[12,23],"tags":[173,57,33],"class_list":["post-9525","post","type-post","status-publish","format-standard","has-post-thumbnail","category-tips","category-unity","tag-shader","tag-styly","tag-unity"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/9525","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\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/comments?post=9525"}],"version-history":[{"count":55,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/9525\/revisions"}],"predecessor-version":[{"id":39848,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/posts\/9525\/revisions\/39848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media\/9558"}],"wp:attachment":[{"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/media?parent=9525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/categories?post=9525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/styly.cc\/ja\/wp-json\/wp\/v2\/tags?post=9525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}