[gpu pro]hybrid min/max plane-based shadow maps
2013-02-14 14:13
991 查看
![](http://img.my.csdn.net/uploads/201302/14/1360822702_6194.jpg)
对min/max shadow map的一个优化,min/max shadow map的简单介绍可以看这个:http://developer.download.nvidia.com/presentations/2007/gdc/SoftShadows.pdf
min/max shadow map基本做法:
使用min filter和max filter分别构建两个texture,都是带有mipmap的,mipmap构建也是使用min/max filter
在filter shadow的时候,通过min/max depth来快速剔除一些不需要深入filtering的像素,进而达到优化的目的
gpu pro这篇文章在这几个方面做了优化:使用一个贴图的两个通道来分别存min/max值
在一定情况想,使用一个plane来表示shadow depth信息可以更好的提出,这种情况下就不存min/max depth,转而存表达plane的四个数至于什么时候plane比较合适文中没有说的很清楚,但是这个plane的引入就让这个文章的名字cool了一大截:hybrid min/max plane based shadow map
在构建hybrid sm的时候,使用了新的硬件的特性,gather指令,可以一次把linear的四个texel返回,这样就不用sm3这样,使用多个tex2D指令,尤其是针对非linear filter的min/max filter
也提到DirectCompute的shared memory,对filter类的操作是神器
在最后使用的时候,不是标准min/max shadow map的那种mipmap做很多转移,而是直接就一个mip
相关文章推荐
- [gpu pro3]efficient online visibility for shadow maps
- [gpu pro]shadow map for omnidirectinal light using tetrahedron mapping
- codeforces 277E - Binary Tree on Plane (MinCostMaxFlow, 简单)
- [gpu pro]Fast, Stencil-Based Multiresolution Splatting for Indirect Illumination
- Terrain Rendering Using GPU-Based Geometry Clipmaps
- [gpu pro]fast conventional shadow filtering
- 使用基于GPU的Geometry Clipmap渲染地形(Terrain Rendering Using GPU-Based Geometry Clipmaps)(下)
- minSdkVersion、argetSdkVersion、maxSdkVersion的理解
- WM_GETMINMAXINFO的作用 .
- Generic<Programming>: 再谈Min和Max
- js取最小最大值--Math.min()、math.max()
- [Grid Layout] Use the minmax function to specify dynamically-sized tracks
- oracle性能优化技巧:max(),min()的高效写法
- 脚本实现sum/avg/max/min-求文本中每行数字
- css中的min-height、max-height、min-width、max-width
- matlab实现图割算法中的最大流最小割Max-flow/min-cut问题(一)
- Java实现用最大堆和最小堆查找中位数 Find median with min heap and max heap in Java
- 标准库std::min/std::max与min/max宏冲突
- max-height,min-height在IE下不支持的解决方法
- minSdkVersion、maxSdkVersion、targetSdkVersion、target四个属性区别