{"id":750,"date":"2019-11-20T19:50:06","date_gmt":"2019-11-20T11:50:06","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=750"},"modified":"2019-11-20T19:50:06","modified_gmt":"2019-11-20T11:50:06","slug":"unitysurfaceshader%ef%bc%9aalphablend%e4%b9%8brendertexture-alpha%e5%86%99%e5%85%a5","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=750","title":{"rendered":"[Unity]SurfaceShader\uff1aAlphaBlend\u4e4bRenderTexture-Alpha\u5199\u5165"},"content":{"rendered":"\n<p>alpha:fade &#8211; Enable traditional fade-transparency<br><br>https:\/\/docs.unity3d.com\/Manual\/SL-SurfaceShaders.html<\/p>\n\n\n\n<p>\u5728#pragma surface \u4e2d\uff0c\u6dfb\u52a0\u4e86alpha:fade\uff0c\u5c31\u4e0d\u4f1a\u5199\u5165alpha<br>\u5982\u679c\u8981\u5199\u5165alpha\uff0c\u5220\u9664alpha:fade<\/p>\n","protected":false},"excerpt":{"rendered":"<p>alpha:fade &#8211; Enable traditional fade-transparency [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/750"}],"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=750"}],"version-history":[{"count":1,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/750\/revisions"}],"predecessor-version":[{"id":751,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/750\/revisions\/751"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}