{"id":3812,"date":"2021-02-25T20:37:26","date_gmt":"2021-02-25T12:37:26","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=3812"},"modified":"2021-02-25T20:38:02","modified_gmt":"2021-02-25T12:38:02","slug":"unity%e6%98%be%e7%a4%bashader%e7%bc%96%e8%af%91%e5%90%8e%e7%9a%84%e6%8c%87%e4%bb%a4%e6%95%b0","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=3812","title":{"rendered":"[Unity]\u663e\u793aShader\u7f16\u8bd1\u540e\u7684\u6307\u4ee4\u6570"},"content":{"rendered":"\n<p>\u4e00\u3001\u9009\u4e2dShader\uff0c\u5728Inspector\u9875\u9762\u4e2d\uff0c\u70b9 Compiled code \/ Compile and show code \u53f3\u8fb9\u7684\u5c0f\u4e09\u89d2\u5f62\uff0c\u9009\u62e9 Current graphics device\uff0c\u7136\u540e\u518d\u70b9\u201cCompile and show code\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"323\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2021\/02\/image-7.png\" alt=\"\" class=\"wp-image-3813\"\/><\/figure>\n\n\n\n<p>\u6bcf\u4e00\u4e2aSubShader\u90fd\u4f1a\u751f\u6210\u5bf9\u5e94\u7684\u6307\u4ee4\u6570\u4fe1\u606f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"227\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2021\/02\/image-8.png\" alt=\"\" class=\"wp-image-3814\"\/><\/figure>\n\n\n\n<p>\u8bb0\u4f4f\uff0c\u5982\u679c\u9009\u62e9\u662f\u7684 Current build platform\uff0c\u5219\u4e0d\u4f1a\u663e\u793a\u8fd9\u4e2a\u6307\u4ee4\u6570<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u9009\u4e2dShader\uff0c\u5728Inspector\u9875\u9762\u4e2d\uff0c\u70b9 Compiled code \/ Compile and  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/3812"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3812"}],"version-history":[{"count":2,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/3812\/revisions"}],"predecessor-version":[{"id":3816,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/3812\/revisions\/3816"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}