5.7 a simple method for rendering gemstones--game programming gems 5 笔记

这篇gem中没有提到特别多得渲染技术,倒是颇象美工教程,不过某种意义上讲,graphics coder是engineer也是artist么。

里面主要讲把一些渲染方式综合起来来获得一个非常炫的钻石的渲染:

1, cube map

2, fresnel

3, light flare 

比较特别的地方:

1, normal 的处理,对于钻石,表面是一块块的小平面,所以会造成对cubemap的采样过于单一,所以需要把normal作一些处理,face normal和smooth normal进行平均得到一个比较理想的效果。

2, 各种技术的综合:包括渲染正反面,折射(带有fresnel)与反射

3, light flare,常用做法是用billboard,利用特定点的luminance和阀值的比较来决定是否渲染这个flare,但是billboard对于填充率要求比较高,文中提畅建立flare模样的mesh来代替billboard来提高填充率

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
是一本中文扫描版。 Publication Date: January 22, 2008 Welcome to the seventh volume of the must-have reference series for game developers, Game Programming Gems, the series that helped define the standards for game programming and continues to be an essential source for new, innovative techniques. "Game Programming Gems 7" provides the tools and inspiration that game developers need to excel. Featuring cutting-edge, ready-to-use techniques contributed by industry veterans and experts, this new collection is a key resource for inspiration, insight, and a plethora of time-saving, ready-to-use methods for the developer's tool box! Gems 7 answers the needs of passionate developers, eager newcomers, voracious production requirements, and the demand for innovating and entertaining gameplay. Covering all the key development areas including math and physics, artificial intelligence, audio, and even scripting and data-driven systems, each section is edited by an expert in the field to ensure that the ideas are original, accurate, and useful.There are gems that contribute directly to a player's experience of the game, including audio production gems and human-game interactions. Does your development team include a DBA? Inside you'll find a gem that suggests ways to integrate your object system with a relational database. Recognizing the need for good solutions for managing ever-increasing team sizes and facilitating efficient internal and external communications, there is a networking gem that applies tools to multiplayer development that are common to many network administrators, but may not yet have widespread use in our industry. Dig into this new volume of useful, practical ideas and techniques and get ready to make games that are more inventive, entertaining, and satisfying!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值