[gpu pro3]efficient online visibility for shadow maps

GPU Pro3上的一个文章,这里的pdf也是同一个东西:

http://www.cg.tuwien.ac.at/research/publications/2011/bittner-2011-scc/bittner-2011-scc-paper.pdf


看下来觉得提供了比较特别的思路,在有software rasterizer culling的情况下会比较给力,其余情况下会遇到一些限制。


算法的核心是根据camera里面能看见的东西,来减少light view要render的object,具体分四步:

  • 确定receiver object,也就是camera里面最后画在屏幕上的那些object,这里在dx9上就使用occlusion query,当然这里会有延迟,所以只能采取保守做法了。
  • 在light view render这些receiver object,作为mask,这里做mask可以是使用receiver object的bounding volume,也可以使用geometry本身,具体情况具体分析了
  • 在light view使用occlusion query先,剔除不会casting shadow的object
但是没有software rasterizer的情况下,这个狂不靠谱啊,双occlusion query双延迟。。。
这个比ps3上常用的物件bounding box顺light view方向延伸,做conditional rendering差好几万米了。

不过这个思路挺好,或许一些技术可以把缺陷处理掉,也是一个不错的shadow优化的方法。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Hardcover: 320 pages Publisher: A K Peters/CRC Press (March 18, 2016) Language: English ISBN-10: 149874253X ISBN-13: 978-1498742535 The latest edition of this bestselling game development reference offers proven tips and techniques for the real-time rendering of special effects and visualization data that are useful for beginners and seasoned game and graphics programmers alike. Exploring recent developments in the rapidly evolving field of real-time rendering, GPU Pro 7: Advanced Rendering Techniques assembles a high-quality collection of cutting-edge techniques for advanced graphics processing unit (GPU) programming. It incorporates contributions from more than 30 experts who cover the latest developments in graphics programming for games and movies. The book covers advanced rendering techniques that run on the DirectX or OpenGL runtimes, as well as on any other runtime with any language available. It details the specific challenges involved in creating games across the most common consumer software platforms such as PCs, video consoles, and mobile devices. The book includes coverage of geometry manipulation; rendering techniques, handheld devices programming, effects in image space, lighting, 3D engine design, graphics-related tools, and environmental effects. It also includes a dedicated section on general purpose GPU programming that covers CUDA and DirectCompute examples. In color throughout, GPU Pro 7 presents ready-to-use ideas and procedures that can help solve many of your daily graphics programming challenges. Example programs with downloadable source code are also provided on the book’s CRC Press web page.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值