{"id":4809,"date":"2023-04-20T10:43:42","date_gmt":"2023-04-20T02:43:42","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=4809"},"modified":"2023-04-20T10:47:11","modified_gmt":"2023-04-20T02:47:11","slug":"unity-%e7%ba%b9%e7%90%86%e6%a0%bc%e5%bc%8f%e6%8f%8f%e8%bf%b0","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=4809","title":{"rendered":"Unity \u7eb9\u7406\u683c\u5f0f\u63cf\u8ff0"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>\u3010\u5206\u91cf\u3011\nR,G,B,A: \u57fa\u672c\u5206\u91cf\nD: Depth \u6df1\u5ea6\nS: Stencil \u6a21\u677f\n\/\/ \u540e\u7f00\nUNorm: Usigned Normalized values, \u503c\u57df=[0,1], \u65e0\u7b26\u53f7\u89c4\u8303\u5316\u533a\u95f4\nSNorm: Signed Normalized values, \u503c\u57df=[-1,1], \u6709\u7b26\u53f7\u89c4\u8303\u5316\u533a\u95f4\nUInt: Usigned integer values, \u503c\u57df=[-2^(n-1), 2^(n-1)-1]\nUFloat: Unsigned floating-point numbers\nSFloat: Signed floating-point numbers\nSRGB: \u65e0\u7b26\u53f7\u89c4\u8303\u5316\u533a\u95f4\nPACKnn: \u7528nn\u4f4d\u6253\u5305\u7684\u7eb9\u7406<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","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\/4809"}],"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=4809"}],"version-history":[{"count":2,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/4809\/revisions"}],"predecessor-version":[{"id":4811,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/4809\/revisions\/4811"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}