{"id":535175,"date":"2021-08-29T18:09:27","date_gmt":"2021-08-29T10:09:27","guid":{"rendered":"http:\/\/4563.org\/?p=535175"},"modified":"2021-08-29T18:09:27","modified_gmt":"2021-08-29T10:09:27","slug":"%e6%9c%80%e8%bf%91%e6%83%b3%e5%86%99%e4%b8%aa-2d-%e6%b8%b8%e6%88%8f%e7%9a%84%e5%bc%95%e6%93%8e%ef%bc%8c%e6%88%91%e6%9c%89%e5%be%88%e5%a4%9a%e9%97%ae%e5%8f%b7%e3%80%82%e8%af%b7%e9%97%ae%e4%b8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=535175","title":{"rendered":"\u6700\u8fd1\u60f3\u5199\u4e2a 2D \u6e38\u620f\u7684\u5f15\u64ce\uff0c\u6211\u6709\u5f88\u591a\u95ee\u53f7\u3002\u8bf7\u95ee\u4e0b\u5982\u4f55\u5165\u95e8\u57fa\u7840 OpenGL, \u4ee5\u53ca\u4e0d\u4e45\u7684\u672a\u6765\u662f\u4e0d\u662f vulkan \u4f1a\u53d6\u4ee3 OpenGL\uff0c\u60f3\u627e\u4e2a\u8d77\u70b9\uff0c\u6211\u60f3\u660e\u5929\u5f00\u59cb\u8865\u4e9b\u77e5\u8bc6"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u6700\u8fd1\u60f3\u5199\u4e2a 2D \u6e38\u620f\u7684\u5f15\u64ce\uff0c\u6211\u6709\u5f88\u591a\u95ee\u53f7\u3002\u8bf7\u95ee\u4e0b\u5982\u4f55\u5165\u95e8\u57fa\u7840 OpenGL, \u4ee5\u53ca\u4e0d\u4e45\u7684\u672a\u6765\u662f\u4e0d\u662f vulkan \u4f1a\u53d6\u4ee3 OpenGL\uff0c\u60f3\u627e\u4e2a\u8d77\u70b9\uff0c\u6211\u60f3\u660e\u5929\u5f00\u59cb\u8865\u4e9b\u77e5\u8bc6 <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <span><i><\/i> 8<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4f60\u4eec\u90fd\u662f\u6211\u5927\u54e5<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>24<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"6683050\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lcdtyph <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> opengl \u6559\u7a0b\u5f88\u591a\u554a\uff0c\u96f6\u57fa\u7840\u7684\u8bdd\u76f4\u63a5\u53bb\u770b learnopengl-cn.github.io \u5c31\u597d\u4e86\u3002<br \/>vulkan \u5efa\u8bae\u5bf9 gpu \u786c\u4ef6\u67b6\u6784\u6bd4\u8f83\u4e86\u89e3\u4e4b\u540e\u518d\u5b66\u4e60\uff0c\u5b83\u7684 api \u592a\u5e95\u5c42\u4e86\uff0c\u727a\u7272\u4e86\u4fbf\u5229\u6027\u6362\u6765\u4e86\u81ea\u7531\u5ea6\u548c\u6e32\u67d3\u6548\u7387 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683051\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @lcdtyph \u597d\u7684\uff0c\u591a\u8c22 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683052\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u8bf7\u95ee openGL \u672a\u6765\u4f1a\u6d88\u4ea1\u5417\uff0c\u6211\u770b\u77e5\u4e4e\u4e0a\u8bf4\uff0c\u672a\u6765 OpenGL \u4f1a\u88ab Vulkan \u7ed9\u53d6\u4ee3\uff0c\u4ee5\u53ca\u82f9\u679c\u90fd\u5448\u73b0\u653e\u5f03\u7684\u59ff\u6001\u4e86\u3002\u5b66\u4e60 OpenGL \u5bf9\u4e8e\u8fc7\u5ea6\u5230 Vulkan \u6709\u5e2e\u52a9\u5417\uff0c\u6211\u5bb3\u6015 49 \u5e74\u5165\u56fd\u519b <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683053\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kokutou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4f60\u5148\u5b66\u4e2a\u5bb9\u6613\u5b66\u7684\u73b0\u5728\u8d44\u6599\u591a\u7684\u3002\u3002\u3002<br \/>\u6d41\u7a0b\u641e\u61c2\u4e86\u5207\u8fc7\u53bb\u5f88\u7b80\u5355\u7684\u3002\u3002\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683054\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> 2d \u6e38\u620f\u5f15\u64ce\u7684\u8bdd\uff0c\u73b0\u5728\u4f60\u7528\u5565\u90fd\u5dee\u4e0d\u591a\uff0c\u56e0\u4e3a\u6700\u91cd\u8981\u7684\u90e8\u5206\u6839\u672c\u4e0d\u662f\u56fe\u5f62 API\uff0c\u8fd8\u4e0d\u5982\u627e\u4e2a\u7b80\u5355\u70b9\u7684\u5148\u628a\u6846\u67b6\u642d\u5efa\u8d77\u6765\uff0c\u5b9e\u5728\u8981\u79fb\u690d\u4e5f\u53ef\u4ee5\u7528 ANGLE \u51d1\u5408\u7528\u4e0b <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683055\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xarthur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5bf9\u4e8e\u5f15\u64ce\u6765\u8bf4\u91cd\u8981\u7684\u4e0d\u662f\u56fe\u5f62 API\uff0c\u4e3b\u6d41\u7684\u5546\u4e1a\u6e38\u620f\u5f15\u64ce\u5e94\u8be5\u5e94\u8be5\u90fd\u540c\u65f6\u652f\u6301 Metal \u3001DirectX \u3001OpenGL \u3001Vulkan \u5427\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683056\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u591a\u8c22\u5404\u4f4d\u56de\u590d\uff0c\u5176\u5b9e\u6211\u662f\u7eaf\u4e2a\u4eba\u5174\u8da3\u7684\uff0c\u4e0d\u662f\u60f3\u8981\u641e\u4e2a\u4ec0\u4e48\u5546\u4e1a\u5f15\u64ce\uff0c\u6ca1\u90a3\u4e48\u725b\u903c\uff0c\u5c31\u662f\u60f3\u8fdb\u9636\u4e00\u4e0b\u57fa\u7840\u56fe\u5f62\u77e5\u8bc6\u3002\u3002\u62b1\u6b49\u6ca1\u8bf4\u6e05\u695a\u3002\u6211\u89c9\u5f97\u6211\u8fd8\u662f\u5148\u81ea\u5df1\u63a2\u7d22\u4e00\u756a\uff0c\u518d\u6765\u63d0\u51fa\u66f4\u6709\u4ef7\u503c\u7684\u95ee\u9898\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683057\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : joshua7v <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u56fe\u5f62 api \u548c\u56fe\u5f62\u5b66\u77e5\u8bc6\u662f\u4e24\u7801\u4e8b<br \/>\u60f3\u8865\u7406\u8bba\u57fa\u7840\uff0c\u5efa\u8bae\u4ece\u8f6f\u4ef6\u6e32\u67d3(cpu)\u5f00\u59cb <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683058\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bitdepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> opengl \u662f\u4e0d\u6703\u904e\u6642\u7684\uff0cvulkan \u5176\u5be6\u4e0d\u9069\u5408\u505a\u7e6a\u5716\u7528\u9014\uff0c\u592a\u904e\u8907\u96dc\uff0c\u5927\u591a\u6578\u5834\u666f\u6c92\u6709\u610f\u7fa9\u3002<br \/>\u800c directx3d \u652f\u63f4\u53ea\u662f\u9078\u9805\u800c\u5df2\uff0c\u61c2 opengl \u5c31\u6703 directx3d \u800c\u4e14\u73fe\u4ee3 windows \u5e73\u53f0\u54ea\u500b\u4e0d\u652f\u63f4 opengl ? <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683059\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : typetraits <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u57fa\u7840\u56fe\u5f62\u77e5\u8bc6\u4ece\u624b\u64b8\u6e32\u67d3\u7ba1\u7ebf\u5f00\u59cb\uff0c\u518d\u641e\u4e2a CPU PBR \u6e32\u67d3\u5c31\u5dee\u4e0d\u591a\u4e86<br \/>\u6211\u5b66\u56fe\u5f62\u5b66\u7684\u65f6\u5019\u6839\u672c\u6ca1\u7528\u8fc7 OpenGL\uff0c\u4e00\u5f00\u59cb\u63a5\u89e6\u7684\u5c31\u662f Vulkan\uff0c\u7136\u540e\u53cd\u5411\u7167\u7740 Vulkan \u63a5\u53e3\u5b9e\u73b0\u4e86 CPU \u6e32\u67d3\u5668<br \/>\u6211\u4e2a\u4eba\u8ba4\u4e3a\u63a5\u89e6\u4e00\u4e0b Vulkan \u662f\u6709\u597d\u5904\u7684\uff0c\u867d\u7136\u7e41\u7410\uff0c\u4f46 Vulkan \u8bbe\u8ba1\u4e0a\u975e\u5e38\u63a5\u8fd1 GPU \u7684\u5de5\u4f5c\u539f\u7406\uff0c\u53ef\u4ee5\u8ba9\u4f60\u5728\u5b66\u4e60 API \u7684\u540c\u65f6\u5bf9 GPU \u7684\u5de5\u4f5c\u6d41\u7a0b\u6709\u5927\u81f4\u7684\u4e86\u89e3 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683060\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mutoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u82f9\u679c\u5df2\u7ecf\u660e\u786e\u5ba3\u5e03\u5c06\u4ece macOS \u4e0a\u79fb\u9664\u5bf9 OpenGL \u7684\u652f\u6301\uff0c\u6240\u4ee5\u5982\u679c\u4f60\u8981\u505a\u8de8\u5e73\u53f0\u7684\u6e38\u620f\u7684\u8bdd\uff0c\u652f\u6301 Metal \u51e0\u4e4e\u662f\u5fc5\u987b\u7684\u3002\u5982\u679c\u81ea\u5df1\u60f3\u5b9e\u73b0\u4e00\u4e2a\u7b80\u5355\u7684\u6e38\u620f\u5f15\u64ce\u7684\u8bdd\uff0c\u53ef\u4ee5\u4f7f\u7528 bgfx \u6765\u652f\u6301\u8de8\u5e73\u53f0\u6e32\u67d3\u540e\u7aef\uff0c\u4f60\u53ea\u8981\u6ce8\u91cd\u6e38\u620f\u5f15\u64ce\u7684\u5176\u5b83\u90e8\u5206\uff0c\u5c31\u884c\u4e86\u3002<br \/>https:\/\/github.com\/bkaradzic\/bgfx <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683061\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mutoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u53e6\u5916\u5982\u679c\u5bf9\u8de8\u5e73\u53f0\u6e32\u67d3\u6709\u5174\u8da3\u7684\u8bdd\uff0c\u63a8\u8350\u4f60\u8fd9\u4e2a\u7cfb\u5217\uff1a<br \/>https:\/\/marcelbraghetto.github.io\/a-simple-triangle\/ <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683062\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @Mutoo \u770b\u8d77\u6765\u662f\u5e72\u8d27\uff0c\u5fc5\u987b\u9053\u4e2a\u8c22 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683063\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u591a\u8c22\u5404\u4f4d\u5927\u54e5\u7684\u56de\u590d\uff0c\u6211\u90fd\u770b\u4e86\uff0c\u6211\u76ee\u524d\u4e0d\u77e5\u9053\u600e\u4e48\u56de\u590d\u4f60\u4eec\uff0c\u8fd9\u5bf9\u4e8e\u6211\u6765\u8bf4\u662f\u4e00\u4e2a\u672a\u77e5\u7684\u9886\u57df\uff0c\u6211\u9700\u8981\u4e00\u70b9\u70b9\u4e86\u89e3 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683064\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : frankmdong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div>  \u8ddf\u7740 theCherno \u5199\u6e38\u620f\u5f15\u64ce\u5427\uff0c\u4e5f\u662f\u5148\u505a\u7684 2D \u7684\u529f\u80fd\uff0c\u6e32\u67d3 API \u4e5f\u5c01\u88c5\u4e86\u4e00\u5c42\uff0c\u4e00\u5f00\u59cb\u7528\u7684\u662f OpenGL\uff0c\u540e\u6765\u4ed6\u5728\u81ea\u5df1\u7684 develop branch \u63a5\u4e86 Vulkan\uff0chttps:\/\/www.youtube.com\/playlist?list=PLlrATfBNZ98dC-V-N3m0Go4deliWHPFwT<br \/>\u8fd9\u4e2a\u6211\u4e5f\u8ddf\u4e86\u4e00\u5927\u534a\u4e86\uff0c\u8ddf\u7740\u5c01\u88c5\u4e86\u4e0d\u5c11\u6e32\u67d3\u76f8\u5173\u7684\u63a5\u53e3\uff0c\u5b66\u8de8\u5e73\u53f0\u7684\u5904\u7406\uff0c\u8fd8\u7528 ImGUI \u505a\u4e86\u4e2a\u7f16\u8f91\u5668\u3002 <br \/>\u6e32\u67d3\u6d41\u7a0b\u4e0d\u592a\u719f\u6089\u7684\u8bdd\u53ef\u4ee5\u5148\u5b66\u5b66 OpenGL\uff0c\u4ed6\u4e5f\u6709\u5355\u72ec\u7684 OpenGL \u7684\u7cfb\u5217\u6559\u7a0b\u3002 <br \/>\u57fa\u7840\u7262\u9760\u4e86\uff0c\u4e4b\u540e\u518d\u5728 Vulkan \u3001DirectX12 \u3001Metal \u8fd9\u4e9b\u65b0\u56fe\u5f62 API \u91cc\u9762\u6311\u4e00\u4e2a\u5b66\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683065\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : levelworm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> 2D \u6ca1\u4ec0\u4e48\u4e1c\u897f\u554a\uff0c\u6211\u8bb0\u5f97\u4f60\u4e4b\u524d\u4e0d\u662f\u7528 c#\u5199\u4e86\u4e00\u4e2a\u5417\uff1f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683066\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @levelworm \u90a3\u73a9\u610f\u7528\u7684\u662f\u522b\u4eba\u5c01\u88c5\u6bd4\u8f83\u9ad8\u5c42\u7684\u6846\u67b6\u5199\u7684\uff0c\u53ea\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5173\u5361\u7f16\u8f91\u5668\uff0c\u5f88\u591a\u7ec6\u8282\u7684\u4e1c\u897f\u8fd8\u662f\u4e0d\u662f\u5f88\u4e86\u89e3 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683067\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : levelworm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @ChrisFreeMan \u4e4b\u524d\u5efa\u8bae\u7528 C++\u548c sdl2 \u6211\u89c9\u5f97\u53ef\u4ee5\u8bd5\u8bd5\u770b\uff0c\u76f8\u5bf9\u5e95\u5c42\uff0c\u5c01\u88c5\u7684\u4e0d\u662f\u5f88\u591a\u3002\u5982\u679c\u771f\u7684\u60f3\u8981\u66f4\u5e95\u5c42\uff0c\u53ef\u4ee5\u770b\u770b youtube \u4e0a\u6709\u4e2a\u7cfb\u5217\u662f c game programming from ground up <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683068\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : levelworm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u8bf4\u9519\u4e86\uff0c\u662f\u8fd9\u4e2a\uff1a<br \/>https:\/\/www.youtube.com\/playlist?list=PLlaINRtydtNWuRfd4Ra3KeD6L9FP_tDE7 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683069\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dtysky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u76f4\u63a5\u4e0a WEBGPU\uff0c\u7b80\u5355\u7684\u5f88\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683070\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GeruzoniAnsasu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u2026\u2026\u2026\u2026 CPU \u6e32\u67d3\u5668\u662f\u4ec0\u4e48\u9b3c\u63d0\u6848<br \/>\u4ed6\u4eec\u90fd\u88ab opengl \u5438\u5f15\u4e86\uff0c\u5fd8\u8bb0\u4e86\u8fd9\u662f\u4e2a XY Problem<br \/>\u800c\u4e14 2D \u6e38\u620f\u600e\u4e48\u8fd8\u80fd\u626f\u5230 PBR \u7684<br \/>\u5176\u5b9e\u6e38\u620f\u5f15\u64ce\uff08\u5c24\u5176\u662f 2D \uff09\u8ddf\u56fe\u5f62 API \u5173\u7cfb\u6ca1\u90a3\u4e48\u7d27\u5bc6<br \/>2D \u5f15\u64ce\u4e0d\u77e5\u9053\u4f60\u8003\u8651\u7684\u529f\u80fd\u6709\u54ea\u4e9b\uff0c\u5207\u56fe\u3001\u53d8\u6362\u3001\u7269\u7406\u3001\u5bf9\u8c61\u7ba1\u7406\uff1f<br \/>\u5982\u679c\u4f60\u60f3\u5199\u7684\u771f\u7684\u662f 2D \u5f15\u64ce\uff0c\u90a3\u4e48\u8003\u8651\u95ee\u9898\u7684\u987a\u5e8f\u5e94\u8be5\u662f top-down \u7684\uff0c\u5148\u8ba1\u5212\u6700\u7ec8\u80fd\u8fbe\u5230\u4ec0\u4e48\u6548\u679c\uff0c\u7136\u540e\u518d\u628a\u6bcf\u4e00\u5c42\u7684\u62bd\u8c61\u5b9a\u597d\uff0c\u7136\u540e\u5728\u5f80\u62bd\u8c61\u51fa\u6765\u7684\u6846\u67b6\u91cc\u585e\u4ee3\u7801\u3002<br \/>\u6bd4\u5982\u5047\u8bbe\u6211\u7684\u76ee\u6807\u662f\uff0c\u6ca1\u6709\u5f15\u64ce UI\uff0c\u7528\u4ee3\u7801\u6765\u521b\u5efa\u5bf9\u8c61\uff0c\u6ca1\u6709 UI \u7cfb\u7edf\uff0c\u6ca1\u6709\u9884\u8bbe\u7269\u7406\uff0c\u90a3\u4e48\u6211\u53ef\u80fd\u81f3\u5c11\u9700\u8981\u4e0b\u9762\u8fd9\u4e9b\u4e1c\u897f\uff1a<br \/>&#8211; \u4e8b\u4ef6\u5faa\u73af\uff08\u6e32\u67d3\u548c\u8ba1\u7b97\u81f3\u5c11\u8981\u5f02\u6b65\u5316\u5bf9\u5427\uff09<br \/>&#8211; \u8f93\u5165\u7ba1\u7406\u5668\uff08\u300c\u6e38\u620f\u64cd\u4f5c\u300d\u548c\u300c\u7269\u7406\u8f93\u5165\u300d\u7684\u6620\u5c04\uff0c\u6bd4\u5982\u7ec4\u5408\u952e\uff09<br \/>&#8211; sprite \uff08\u5bf9\u8c61\uff09\u7ba1\u7406\u5668\uff08\u5207\u56fe\u3001\u5bf9\u8c61\u5173\u7cfb\u548c\u53d8\u6362\u3001shader \u6216\u6750\u8d28\u3001\u5305\u56f4\u76d2\u3001\u78b0\u649e\u68c0\u6d4b\u2026\u2026\uff09<br \/>&#8211; \u52a8\u753b\u7ba1\u7406\u5668\uff08\u56fe\u7247\u7ec4\u3001\u52a8\u753b\u6df7\u5408\uff09<br \/>&#8211; \u6e32\u67d3\u5668<br \/>\u6bcf\u4e2a\u7ec4\u4ef6\u90fd\u6709\u5f88\u591a\u5de5\u4f5c\u8981\u505a\uff0c\u56e0\u6b64\u5f3a\u70c8\u5efa\u8bae\u53c2\u8003\u6210\u719f\u5f15\u64ce\u7684\u4ee3\u7801\u7ed3\u6784\uff0c\u4f60\u80fd\u4e00\u76ee\u4e86\u7136\u5730\u4ece\u6587\u4ef6\u540d\u5c31\u770b\u51fa\u9700\u8981\u505a\u4ec0\u4e48\uff1a<br \/>https:\/\/github.com\/cocos2d\/cocos2d-x\/tree\/v4\/cocos\/2d <br \/>\u5177\u4f53\u5230\u4f60\u63d0\u5230\u7684 opengl\/\u56fe\u5f62 API \u4e0a\uff0c\u5982\u679c\u4f60\u662f\u81ea\u9876\u800c\u4e0b\u8003\u8651\u7684\uff0c\u81ea\u7136\u4f1a\u60f3\u5728\u6e32\u67d3\u5668\u548c\u56fe\u5f62 API \u4e4b\u95f4\u62bd\u591a\u4e00\u4e2a\u865a\u62df\u5c42\uff0c\u8ba9\u5f15\u64ce\u672c\u8eab\u8bf8\u5982\u521b\u5efa texture\uff0c\u5e94\u7528 shader \u8fd9\u4e9b\u4e8b\u4e0e\u5177\u4f53 API \u9694\u79bb\u5f00\u3002\u6240\u4ee5\u5177\u4f53\u5230\u56fe\u5f62 API \u8fd9\u4e00\u5c42\u8981\u8003\u8651\u7684\u5c31\u662f<br \/>&#8211; \u600e\u4e48\uff08\u5206\u522b\u7528 opengl\/dx\/vulkan \uff09\u753b\u56fe\u7247<br \/>&#8211; \u600e\u4e48\uff08\u2026\u2026\uff09\u6b63\u786e\u6df7\u5408\u534a\u900f\u660e\u7684\u56fe\u7247<br \/>&#8211; \u600e\u4e48\uff08 \uff09\u753b\u6587\u5b57<br \/>&#8211; \u600e\u4e48\u53d8\u6362\u6444\u50cf\u673a<br \/>&#8211; \u2026\u2026<br \/>\u90a3\u65b9\u5411\u5c31\u6e05\u6670\u4e86\uff0c\u5148\u641e\u6e05\u695a\u600e\u4e48\u7528 opengl \u628a\u56fe\u753b\u51fa\u6765\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u5f00\u59cb\u64b8\u4e86\u3002\u5982\u679c\u6015 opengl \u8981\u51c9\uff0c\u90a3\u5c31\u7528 dx \u5457\uff0c\u53cd\u6b63\u5230\u8fd9\u4e00\u5c42\u65e0\u8bba\u7528\u4ec0\u4e48 api \u8981\u5e72\u7684\u6d3b\u90fd\u662f\u540c\u6837\u7684\u90a3\u4e9b\u800c\u5df2 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683071\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @levelworm \u597d\u5bb6\u4f19\uff0c\u4e00\u4e2a\u5c0f\u65f6\u8d77\u6b65\uff0c\u6211\u6311\u4e24\u96c6\u770b\u770b <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683072\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ChrisFreeMan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @GeruzoniAnsasu \u5f88\u8be6\u7ec6\u4e86\u670b\u53cb\uff0c\u6709\u5fc3\u4e86 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"6683073\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : choiceice <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> GAMES101,202 \u56fe\u5f62\u5b66\u8bfe\u7a0b <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u60f3\u5199\u4e2a 2D \u6e38\u620f\u7684\u5f15\u64ce\uff0c\u6211\u6709&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535175"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=535175"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/535175\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=535175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=535175"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=535175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}