05 2013 档案

最近不知道什么时候开始D3D11CreateDevice返回E_FAIL
摘要:查了一下MSDN,说这个函数返回E_FAIL表示:Attempted to create a device with the debug layer enabled and the layer is not installed.一个临时解决方法就是不要带debug layer创建设备。 最后上网查了一下,发现是安装KB2670838引起的,KB2670838详细说明里也有提到debug layer的问题及解决方法,http://support.microsoft.com/kb/2670838/en-us?fr=1,其中一个方法就是安装Windows 8 SDK。 阅读全文

posted @ 2013-05-19 18:39 rickerliang 阅读(757) 评论(0) 推荐(0)

Adaptive Transparency
摘要:最近看到一篇OIT的文章,文章里介绍了一种新方法实现OIT,文章可以在这里找到http://software.intel.com/en-us/articles/adaptive-transparency/,http://software.intel.com/en-us/articles/adaptive-transparency-hpg-2011。文章内介绍的方法把经典alphablending的递归混合公式拆开,避开backtofront的渲染限制,从而实现OIT。 首先回顾一下经典alphablending公式:C0=α0c0Cn=αncn+(1-αn)Cn-1其中,α代表该颜色的覆... 阅读全文

posted @ 2013-05-14 16:28 rickerliang 阅读(800) 评论(0) 推荐(0)

导航